mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2026-04-21 03:10:26 +00:00
When inserting a line break in a contenteditable with preformatted white-space (pre, pre-line, pre-wrap), insert a newline character (\n) instead of a <br> element. Use <br> only for padding at end of line to ensure the cursor can be placed on the new line. |
||
|---|---|---|
| .. | ||
| Internal | ||
| CommandNames.cpp | ||
| CommandNames.h | ||
| Commands.cpp | ||
| Commands.h | ||
| ExecCommand.cpp | ||