Re:Ask HN: Webdevs, designers: what devtools should we (Mozi...
by mbell on Tuesday March 05, 2013 @12:44PM
(#5326009)
You can, sort of.
Right click on an element and choose "edit as HTML" and you can add whatever you want, granted it offers no reasonable formatting, its just a wall of text, not even tabs / line breaks.
It is also broken in that when you do this Chrome rebuilds all the sub elements of what your editing so if there were event hooks or anything like that on the elements they will be gone.
Re:Ask HN: Webdevs, designers: what devtools should we (Mozi...
by modarts on Tuesday March 05, 2013 @04:34PM
(#5327510)
Not to mention dragging over text to select it usually results in the entire HTML fragment getting destroyed when Chrome decides that you're actually attempting to drag the text to move it somewhere else.
Re:Ask HN: Webdevs, designers: what devtools should we (Mozi...
by paulirish on Tuesday March 19, 2013 @03:32AM
(#5399456)
> It is also broken in that when you do this Chrome rebuilds all the sub elements of what your editing so if there were event hooks or anything like that on the elements they will be gone.
This may not be completely true. In Edit As HTML mode every effort is made to retain the original elements. If you move some tags to another location, the real element (and handlers) should actually be retained.
My kingdom for a '+' button.