The DOM node context menu, which you may recognize from the elements panel, is also present in the console panel.
- Log a DOM node to the console.
- Right click on it.
- Select Edit as HTML or Edit Text.
- Notice the DOM is updated on the page and also in the Elements Panel.