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
This bug is really frustrating me... I'm struggling a bit to get solid (bug free) on/off states for block quotes. The rich text api is really very flakey... I'm starting to think resorting to manual dom parsing/editing will be the way to go, but then the text highlighting becomes a problem.
Anyone else, feel free to have a crack at this. It feels like the execcommand api is pretty inconcistent when it comes to indenting, and unindenting areas... so I expect the bug free solution will involve changing the "p" tags to blockquotes, and back again on press... but will also need to re-highlight the same text area after those elements are replaced.
If you hit the demo page, select two paragraphs and then hit quote twice, it sticks the two paragraphs together.
Not the world's biggest problem, I'll admit...
The text was updated successfully, but these errors were encountered: