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] Quote shortcode '>' only works if quotePlugin is initialized before markdownShortcutPlugin() #620

Open
1 task done
MichielvanBeers opened this issue Oct 31, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@MichielvanBeers
Copy link

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

Describe the bug
If the quotePlugin() is initialized after the markdownShortcutPlugin(), the quote shortcode > does not work. If the quotePlugin() is initialized before the markdownShortcutPlugin() it does work.

Reproduction
Link to CodeSandbox

To Reproduce
Steps to reproduce the behavior:

  1. Open the CodeSandbox link
  2. Try to activate the quote block by typing '>' followed by a space on a new line.

Expected behavior

  1. The qoute block shortcode should work regardless of the initialization sequence of the markdownShortcutPlugin and the quotePlugin
  2. or an error should be thrown, informing the user of the correct order of initialization.

Desktop (please complete the following information):

  • OS: tested on Windows
  • Browser: Chrome

Additional context
Thank you for the great work on this editor!

@MichielvanBeers MichielvanBeers added the bug Something isn't working label Oct 31, 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