Open Bug 925936 Opened 7 years ago Updated 7 years ago

execCommand with ("formatBlock", "<BLOCKQUOTE>") compounds rather than toggles.

Categories

(Core :: DOM: Editor, defect)

24 Branch
x86_64
Windows 8
defect
Not set
normal

Tracking

()

UNCONFIRMED

People

(Reporter: austin, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:24.0) Gecko/20100101 Firefox/24.0 (Beta/Release)
Build ID: 20130910160258

Steps to reproduce:

1.Create a text-editable div
2.Run execCommand("formatBlock", "<BLOCKQUOTE>") on selected text.
3.Run it again. 
4.Cry a little.


Actual results:

It didn't toggle the <blockquote>, rather, it nested another blockquote.


Expected results:

It should revert the text back to its previous state, or unwrapped, or a paragraph tag.
Component: Untriaged → Editor
Product: Firefox → Core
You need to log in before you can comment on or make changes to this bug.