add marks to editor actions (breaks menu sync)
This commit is contained in:
parent
5986e599fd
commit
bfa4ef8ba0
1 changed files with 3 additions and 1 deletions
|
@ -28,7 +28,9 @@ export const menuActionToCommand: KV<() => boolean> = {
|
||||||
heading3: simpleAction('formatblock', 'H3'),
|
heading3: simpleAction('formatblock', 'H3'),
|
||||||
bulletList: simpleAction('insertUnorderedList'),
|
bulletList: simpleAction('insertUnorderedList'),
|
||||||
numberedList: simpleAction('insertOrderedList'),
|
numberedList: simpleAction('insertOrderedList'),
|
||||||
separator: insertHorizontalRule()
|
separator: insertHorizontalRule(),
|
||||||
|
bold: simpleAction('bold'),
|
||||||
|
italic: simpleAction('italic')
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getElementAndParentName (el: Node) {
|
export function getElementAndParentName (el: Node) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue