From 3759f4cdee7e61ccb25a1cea0f9f835311abb580 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Ku=CC=88hn?= Date: Thu, 18 Feb 2021 17:31:33 +0100 Subject: [PATCH] export core command types --- packages/core/src/extensions/commands.ts | 46 ++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/packages/core/src/extensions/commands.ts b/packages/core/src/extensions/commands.ts index 39e770f00..a8c13067b 100644 --- a/packages/core/src/extensions/commands.ts +++ b/packages/core/src/extensions/commands.ts @@ -45,6 +45,52 @@ import * as updateNodeAttributes from '../commands/updateNodeAttributes' import * as wrapIn from '../commands/wrapIn' import * as wrapInList from '../commands/wrapInList' +export { blur } +export { clearContent } +export { clearNodes } +export { command } +export { createParagraphNear } +export { deleteRange } +export { deleteSelection } +export { enter } +export { exitCode } +export { extendMarkRange } +export { first } +export { focus } +export { insertHTML } +export { insertText } +export { joinBackward } +export { joinForward } +export { keyboardShortcut } +export { lift } +export { liftEmptyBlock } +export { liftListItem } +export { newlineInCode } +export { replace } +export { replaceRange } +export { resetNodeAttributes } +export { scrollIntoView } +export { selectAll } +export { selectNodeBackward } +export { selectNodeForward } +export { selectParentNode } +export { setContent } +export { setMark } +export { setNode } +export { sinkListItem } +export { splitBlock } +export { splitListItem } +export { toggleList } +export { toggleMark } +export { toggleNode } +export { toggleWrap } +export { undoInputRule } +export { unsetAllMarks } +export { unsetMark } +export { updateNodeAttributes } +export { wrapIn } +export { wrapInList } + export const Commands = Extension.create({ name: 'commands',