mdx-editor / editor

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

Code sample - custom link dialog #406

Closed shaipetel closed 3 months ago

shaipetel commented 3 months ago

Describe the bug I would like to have a custom link dialog that will allow me to open my own picker. I could not find any working code to pass a LinkDialog JSX element to the linkDialogPlugin

Expected behavior Any code sample with a demo dialog for editing and inserting links

Additional context In my application, there are many link suggestions and they are too long so the user cannot read them in the OOB dialog. I would like to open a page picker that will allow custom navigation to pick a page in a folder-view and pages.