'contentEditable keyboard shortcuts

Is there any official list of keyboard shortcuts for browsers, that can be used in contentEditable div for text formatting?

I know three for Chrome (and maybe some other browsers): Ctrl+B, Ctrl+U, CTRL+I.

Where can I find this information? I've tried to find it, but unsuccessfully.



Solution 1:[1]

Bit late :) but just in case...

It's a bit dense, but this precisely answers your question: https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/editing/editing_behavior.cc

TL;DR, there are a bunch of (honestly) kinda interesting and obscure things you can do, but in terms of the mainstream ^BIU is pretty much it.

(Aside - copying the entire relevant section of the code would turn this answer into quite the wall of text... I don't mind doing that if others think it's a good idea.)

Solution 2:[2]

Those three and Ctrl+P, at least in Chromium Ctrl+p will print just your contentEditable div with its formatting.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 i336_
Solution 2 MichaelDL