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

Nonempty sequence of inline elements can be the contents of an strongly emphasized span #271

Closed
sawyerh opened this issue Mar 21, 2016 · 1 comment

Comments

@sawyerh
Copy link

sawyerh commented Mar 21, 2016

Creating a link inside of a bold string gets messed up when you toggle between Markdown mode and WYSIWYM mode. It seems to only happen when the bold string ends with the link (the ending parentheses followed by a double asterisks).

Example:

bug-demo

Some **bold text wrapping [a link](/test)**

Changes to

Some **bold text wrapping [a link**](/test)

Which then changes to

\*\*Some bold text wrapping [a link\*\*](/test)

I don't believe this conforms to the CommonMark Spec (see Example 390)

Tested on http://prosemirror.net/demo/markdown.html in Chrome 49.

cc #19

@sawyerh
Copy link
Author

sawyerh commented Mar 21, 2016

Looks like this was fixed with #216, but isn't in the current release. Apologies for the false alarm.

@sawyerh sawyerh closed this as completed Mar 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant