So I've been trying to integrate a rich markdown editor in my application (react), And I am facing some issues that is not listed in the documenation of the rich markdown editor.
I am facing an issue where I don't know where to set the actual height of the textarea itself for the rich markdown editor, It's nowhere to be found in the documentation.
Second issue I am facing is that there is also no documentation on how to disable the block menu (little plus on the side)
Last issue I am facing is that whenever I write more than 1 row of text it auto expands the textarea pushing my divs around it to the side more and more, as I add more text.
Link to the Rich Markdown Editor I am using: https://github.com/outline/rich-markdown-editor
My code:
<div style={{width: '100%', height: '100%', display: 'flex', justifyContent: 'center', color: '#fff'}}>
<div style={{width: '97%', height: '99%'}}>
<Editor
placeholder="Document content goes here..."
dark={true}
disableExtensions={["code_inline", "link", "ordered_list", "bullet_list", "checkbox_item", "checkbox_list", "image", "placeholder", "container_notice", "table", "emoji", "td", "th", "tr", "hr", "code_fence", "code_block"]}
/>
</div>
</div>
I hope somone has some extensive knowledge about this, Cause I've looked thru other countless editors and none seem as good as this one.
Thanks. And Regards.