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
1717 /** @var callable|null */
1818 public $ savingCallback ;
1919
20+ /** @var string Height of the editor (with units) */
21+ public $ height = '800px ' ;
22+
2023 /**
2124 * Specify Unlayer config
2225 * @see https://docs.unlayer.com/docs/getting-started#section-configuration-options
@@ -43,16 +46,6 @@ public function savingCallback(?callable $callback): Unlayer
4346 return $ this ;
4447 }
4548
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-
5649 /**
5750 * Set generated HTML code that can be used on details page.
5851 * @param string|callable $html
You can’t perform that action at this time.
0 commit comments