Jelle Raaijmakers
3f1523b16c
LibWeb: Disable execCommand() commands in plaintext-only editing state
2024-12-03 00:18:03 +01:00
Jelle Raaijmakers
217567981a
LibWeb: Implement "plaintext-only" state for contenteditable
2024-12-03 00:18:03 +01:00
Jelle Raaijmakers
7e406ac668
LibWeb: Simplify editing algorithm for "ends in space" condition
...
Checking if a string ends in a space does not require converting UTF-8
to UTF-16 and reading out its code points.
2024-12-03 00:18:03 +01:00
0x4261756D
124a4f12e4
LibWeb/Editing: Fix small copy-paste error
...
Was introduced in https://github.com/LadybirdBrowser/ladybird/pull/2655
2024-11-30 17:05:01 -05:00
Jelle Raaijmakers
4b0d8cbfad
LibWeb: Implement document.execCommand("styleWithCSS")
2024-11-30 17:35:45 +01:00
Jelle Raaijmakers
bb618736e9
LibWeb: Use default paragraph separator in delete command
2024-11-30 17:35:45 +01:00
Jelle Raaijmakers
4a64557876
LibWeb: Implement document.execCommand("defaultParagraphSeparator")
2024-11-30 17:35:45 +01:00
Jelle Raaijmakers
7bb865052a
LibWeb: Implement document.execCommand("delete")
...
To facilitate the implementation of "delete" and all associated
algorithms, split off this piece of `Document` into a separate
directory.
This sets up the infrastructure for arbitrary commands to be supported.
2024-11-30 17:35:45 +01:00