mdx-editor / editor

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

[BUG] Link dialog should not appear in read only mode. #418

Closed ajboni closed 3 months ago

ajboni commented 3 months ago

Describe the bug Link dialog should not appear in read only mode. Even in readonly mode the user can trigger the dialog and edit the link.

Reproduction A link to codesandbox

To Reproduce Steps to reproduce the behavior:

  1. Go to the codesandox, run it
  2. Click highlight the link, notice the dialog opening and try editing the link

Expected behavior Dialog should not appear and links should no be editable in readonly.

Screenshots image

github-actions[bot] commented 3 months ago

:tada: This issue has been resolved in version 2.20.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: