Skip to content

Commit 6e3bb6f

Browse files
committed
adding height to wysiwyg
1 parent bf003ee commit 6e3bb6f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/ink-ui-src/src/field/wysiwyg.ink

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -889,7 +889,7 @@
889889
import setDisplay from '../utilities/style/display';
890890
//extract props
891891
const {
892-
value = '',
892+
value = '', height = 200,
893893
//flags
894894
history, font, size, format,
895895
paragraph, blockquote, style, color,
@@ -957,6 +957,7 @@
957957
if (dir) buttonList.push(['dir', 'dir_ltr', 'dir_rtl']);
958958

959959
const editor = suneditor.create(textarea, {
960+
height: Number(height) || undefined,
960961
plugins: plugins,
961962
buttonList: buttonList.length > 1 ? buttonList: [],
962963
value: value

0 commit comments

Comments
 (0)