mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-21 09:41:53 +00:00
LibWeb: Disable formatBlock
editing command for plaintext-only
This is a spec issue: https://github.com/w3c/editing/issues/478
This commit is contained in:
parent
f731cffbd8
commit
10d011c75f
Notes:
github-actions[bot]
2025-01-24 22:54:24 +00:00
Author: https://github.com/gmta
Commit: 10d011c75f
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3352
1 changed files with 1 additions and 0 deletions
|
@ -171,6 +171,7 @@ WebIDL::ExceptionOr<bool> Document::query_command_enabled(FlyString const& comma
|
|||
Editing::CommandNames::fontName,
|
||||
Editing::CommandNames::fontSize,
|
||||
Editing::CommandNames::foreColor,
|
||||
Editing::CommandNames::formatBlock, // AD-HOC: https://github.com/w3c/editing/issues/478
|
||||
Editing::CommandNames::hiliteColor,
|
||||
Editing::CommandNames::indent,
|
||||
Editing::CommandNames::insertHorizontalRule,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue