bughelp wanted
倉庫指標
- Star
- (3,516 star)
- PR 合併指標
- (30 天內沒有已合併 PR)
描述
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:
- 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>)