LibWeb: Implement the "italic" editing command

This commit is contained in:
Jelle Raaijmakers 2025-01-08 16:24:38 +01:00 committed by Andreas Kling
commit ae12f7036b
Notes: github-actions[bot] 2025-01-10 22:36:38 +00:00
4 changed files with 63 additions and 0 deletions

View file

@ -0,0 +1,4 @@
Div contents: "foobar" state: false selection: #document 0 #document 0
Div contents: "foo<i>bar</i>" state: true selection: #text 0 #text 3
Div contents: "<i>foobar</i>" state: true selection: #text 0 #text 3
Div contents: "<i>foo</i>bar" state: false selection: #text 0 #text 3