Skip to content

Commit 10fb6a7

Browse files
committed
#4 Fix compatibility issue with Nova 3
1 parent 4e214c2 commit 10fb6a7

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

src/Unlayer.php

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)