uiwjs / react-markdown-editor

A markdown editor with preview, implemented with React.js and TypeScript.
https://uiwjs.github.io/react-markdown-editor
MIT License
327 stars 32 forks source link

How to remove toolbar at all #188

Closed lofti198 closed 2 years ago

lofti198 commented 2 years ago

Thank you for this awesome component! Please tell, how to remove toolbar at all? image

I tried passing empty array, however right icons (switch to fullscreen and preview) still remain. <MarkdownEditor value={markdown} onChange={(value, viewUpdate) => setMarkdown(value)} toolbars={[]} />

lofti198 commented 2 years ago

I found workaroung with: display none, however maybe there is some parameter for that? .md-editor-toolbar { display: none; }

jaywcjlove commented 2 years ago

@lofti198 Upgrade v5.2.0

lofti198 commented 2 years ago

Thank you for fast help! It works awesome!