mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 21:59:07 +00:00
LibWeb: Implement document.execCommand('insertLinebreak')
This commit is contained in:
parent
ae53059816
commit
495006ddb5
Notes:
github-actions[bot]
2024-12-10 18:35:28 +00:00
Author: https://github.com/gmta
Commit: 495006ddb5
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2866
4 changed files with 127 additions and 0 deletions
|
@ -0,0 +1,9 @@
|
|||
Before: "foobar"
|
||||
After: "foo<br>bar"
|
||||
Before: "<p style="white-space: pre">foobar</p>"
|
||||
After: "<p style="white-space: pre">foo
|
||||
bar</p>"
|
||||
Before: "<p style="white-space: pre">foobar</p>"
|
||||
After: "<p style="white-space: pre">foobar
|
||||
|
||||
</p>"
|
Loading…
Add table
Add a link
Reference in a new issue