mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 17:10:23 +00:00
55ec1cbfb5
When a DOM text node is empty, we currently render the node name (which is "#text") in the Inspector. This is just to prevent displaying nothing at all, which looks a bit off. However, the patch to allow editing text fields neglected to allow editing these empty fields. This patch attaches the original text data as a data attribute, much like we do for DOM attributes. That is used as the editable text in the inspector, and the empty text fields are now wrapped in an editable span. |
||
---|---|---|
.. | ||
apps | ||
color-palettes | ||
color-schemes | ||
cursor-themes | ||
devel/templates | ||
emoji | ||
fonts | ||
graphics | ||
html/misc | ||
icons | ||
js/Spreadsheet | ||
keymaps | ||
ladybird | ||
themes | ||
wallpapers | ||
fortunes.json | ||
words.txt |