const editor = createEditorInstance(ref.current!, { typescript: false }); editor.dom.style.height = '100%';