Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Link Edit dialog lingers when going to source mode #619

Open
2 tasks done
deymundson opened this issue Oct 30, 2024 · 0 comments
Open
2 tasks done

[BUG] Link Edit dialog lingers when going to source mode #619

deymundson opened this issue Oct 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@deymundson
Copy link

  • I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
  • I have read the documentation and cannot find an answer.

Describe the bug
If the link dialog is opened, and then I enter source mode, the link dialog stays open.

Reproduction
Sandbox: https://codesandbox.io/p/sandbox/mdx-editor-base-forked-w5fmy4?file=%2Fsrc%2FApp.tsx

To Reproduce

  1. Select some text
  2. Click the link toolbar button
  3. Use the source view toolbar button to enter source mode
  4. The dialog remains open

Expected behavior
The dialog should close since the edit motif is now significantly different.

Note that acknowledging the link dialog still inserts the link; however, the "edit link" popup then appears and there is no way to close it.

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows
  • Browser: Edge
@deymundson deymundson added the bug Something isn't working label Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant