mdx-editor / editor

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

[BUG] toolbar popup are broken when mdx editor is rendered inside shadcn modal #581

Closed MarcoColiaAtFiftyDeg closed 1 month ago

MarcoColiaAtFiftyDeg commented 1 month ago

Describe the bug Toolbar popup are broken when mdx editor is rendered inside shadcn modal, its impossible to open nor use any popup (link) bullet lists etc.

Reproduction LINK TO REPRODUCIBLE SANDBOX.

To Reproduce Steps to reproduce the behavior:

  1. Go to the sandbox link'
  2. Click on paragraph select or link
  3. see the broken layout

Expected behavior this editor must be ok inside dialogs

image

petyosi commented 1 month ago

See https://github.com/mdx-editor/editor/issues/305