0

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.

infamous hvher
  • 171
  • 1
  • 3
  • 8
  • Welcome to StackOverflow - please take the [tour] and read our [ask] page. Then come back and [edit] your question to include a [mcve] of the issues you are having. Good questions tend to receive faster, better responses from the community – blurfus Feb 24 '22 at 16:41

0 Answers0