Similar to the link edition, it would be useful to have a menu that can be activated by right-clicking any element, so that:
It highlights the element (add an attribute ghost-under-menu=true)
it displays a small graph showing the element's tag, the parent element, the previous element sibling (and text sibling if there is one), the next element sibling, and the first and last children. Each element should be clickable to make navigation easy.
It displays a (searchable) list of attributes and their values (+ special handling for styles and classes?), and ways to add/remove/modify them
Actions: Unwrap element
when some text is selected
Actions: Wrap elements in a div
Action: Add child element
Later:
On demand, it displays all the CSS attributes that were applied to it, with their provenance, and a way to add, modify and remove them.
Similar to the link edition, it would be useful to have a menu that can be activated by right-clicking any element, so that:
when some text is selected
Later: