You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 15, 2021. It is now read-only.
When I try your current demo, the Code button is not working correctly. It is like the editor did't recognize that some text was already wrapped in <code>, so it keeps wrapping it over and over instead of removing the code formatting after second click.
How to reproduce:
Open the demo
Select the word World
Press Code button
Press Code button again
Expected: The selected word would be wrapped in <code> and then unwrapped. Actual: The selected word is wrapped twice (<code><code>World</code></code>)
The text was updated successfully, but these errors were encountered:
@tompazourek, I'm looking in to this now. @danburzo, your assertion that this._nodeName contains the correct value is right, butnode.nodeName is still returning the original ancestor node, not the new <code> node, leading to the same problem.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi Guardian team!
Using Chrome 51 on Windows.
When I try your current demo, the Code button is not working correctly. It is like the editor did't recognize that some text was already wrapped in
<code>
, so it keeps wrapping it over and over instead of removing the code formatting after second click.How to reproduce:
World
Expected: The selected word would be wrapped in
<code>
and then unwrapped.Actual: The selected word is wrapped twice (
<code><code>World</code></code>
)The text was updated successfully, but these errors were encountered: