Chromium Code Reviews
Description[InputEvent] Fire 'beforeinput'/'input' for 6 text styling actions
This CL adds support for the following text styling actions:
1. Bold
2. Italic
3. Underline
4. StrikeThrough
5. Superscript
6. Subscript
'beforeinput' and 'input' events will be fired on context menu actions and hotkeys such as Ctrl+b or Ctrl+i.
(Note: 4,5,6 may not have associated hotkeys currently, but they might be fired from context menu.)
Additionally, 'input' events will also be fired on |execCommand()| for backward compatibility.
BUG=585875
Committed: https://crrev.com/518d3acaa508b210560d95ff5b4d8834801d7e60
Cr-Commit-Position: refs/heads/master@{#405824}
Patch Set 1 #
Total comments: 3
Messages
Total messages: 21 (11 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||