mdx-editor / editor

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

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

Closed MarcoColiaAtFiftyDeg closed 2 months ago

MarcoColiaAtFiftyDeg commented 2 months 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 2 months ago

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