diff --git a/src/UEditor/wwwroot/ueditor-blazor.js b/src/UEditor/wwwroot/ueditor-blazor.js index d3ca450..71c93fe 100644 --- a/src/UEditor/wwwroot/ueditor-blazor.js +++ b/src/UEditor/wwwroot/ueditor-blazor.js @@ -8,7 +8,8 @@ window.UEditorBlazor = { domRef.UEditor = UE.getEditor(domRef.id, options); domRef.UEditor.ready(function () { - editor.invokeMethodAsync('HandleRendered'); + editor.invokeMethodAsync('HandleRendered'); + domRef.UEditor.setHeight(options.height); }); domRef.UEditor.addListener('contentchange', function () { var content = domRef.UEditor.getContent();