File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,9 @@ class Unlayer extends Code
17
17
/** @var callable|null */
18
18
public $ savingCallback ;
19
19
20
+ /** @var string Height of the editor (with units) */
21
+ public $ height = '800px ' ;
22
+
20
23
/**
21
24
* Specify Unlayer config
22
25
* @see https://docs.unlayer.com/docs/getting-started#section-configuration-options
@@ -43,16 +46,6 @@ public function savingCallback(?callable $callback): Unlayer
43
46
return $ this ;
44
47
}
45
48
46
- /**
47
- * Set height of the editor (with units)
48
- * @param string $height E.g. "800px"
49
- * @return \IDF\NovaUnlayerField\Unlayer
50
- */
51
- public function height (string $ height ): Unlayer
52
- {
53
- return $ this ->withMeta (['height ' => $ height ]);
54
- }
55
-
56
49
/**
57
50
* Set generated HTML code that can be used on details page.
58
51
* @param string|callable $html
You can’t perform that action at this time.
0 commit comments