4 ms·
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
by mbell 14y ago
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.
- modarts 14y agoNot 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.
- ephemient 14y agoMy workaround is to click an element, then type into console $0.appendChild(document.createElement('tagName')) but yeah, a [+] button would be nice…
- deleted 14y ago[deleted]
- nailer 14y agoIt really seems like you didn't read my post before you replied to it.
- paulirish 14y ago> 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.