1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-28 17:02:04 +03:00

Added bg-color mark, added color grid selectors

This commit is contained in:
Dan Brown
2022-01-12 15:33:59 +00:00
parent 1018b5627e
commit 56d7864bdf
6 changed files with 98 additions and 7 deletions

View File

@ -6,7 +6,7 @@
*/
import crel from "crelt"
import {lift, joinUp, selectParentNode, wrapIn, setBlockType} from "prosemirror-commands"
import {lift, joinUp, selectParentNode, wrapIn, setBlockType, toggleMark} from "prosemirror-commands"
import {undo, redo} from "prosemirror-history"
import {setBlockAttr} from "../commands";
@ -321,6 +321,8 @@ function separator() {
return crel("span", {class: prefix + "separator"})
}
// :: Object
// A set of basic editor-related icons. Contains the properties
// `join`, `lift`, `selectParentNode`, `undo`, `redo`, `strong`, `em`,