mdx-editor / editor

A rich text editor React component for markdown
https://mdxeditor.dev
MIT License
1.75k stars 139 forks source link

The "options" parameter of the "BlockTypeSelect" toolbar component #381

Closed tolms closed 6 months ago

tolms commented 6 months ago

Are you planning to add an "options" parameter to the "BlockTypeSelect" toolbar component to control elements and their order? Something like: { options: ['quote', 'paragraph', 'heading1', 'heading2'] }

petyosi commented 6 months ago

I don't. The component is fairly simple; you can copy/paste its implementation to your own custom toolbar component and tweak it as you wish.