mdx-editor / editor

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

[BUG] BoldItalicUnderlineToggles toolbar breaks in 3.5.0+ #507

Closed MichielvanBeers closed 2 weeks ago

MichielvanBeers commented 2 weeks ago

Describe the bug When doing a clean install of the MDXEditor in version 3.5.0 or higher, the Bold, Italic and Underline button don't become visible when adding the BoldItalicUnderlineToggles component

Reproduction Unedited version of link in template: https://codesandbox.io/p/sandbox/mdx-editor-base-q8s7zr?file=/src/App.tsx

To Reproduce Steps to reproduce the behavior:

  1. Do a clean install of MDXEditor
  2. Add the BoldItalicUnderlineToggles component without options

Expected behavior Bold, Italic and Underscore button should be visible

Actual behavior Bold, Italic and Underscore button are not visible

Workaround Install MDXEditor 3.4.2 or lower

Desktop (please complete the following information):

ps. Keep up the good work. Love this editor :)

bjarneo commented 2 weeks ago

@MichielvanBeers saved me from debugging for hours. Thank you.

Also, I agree. Love this editor!

petyosi commented 2 weeks ago

Sorry, just pushed a fix for that. Thank you for reporting it.