@tiptap/react 2.0.0-beta.104 → 2.0.0-beta.105
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -2
- package/dist/packages/core/src/CommandManager.d.ts +0 -20
- package/dist/packages/core/src/Editor.d.ts +0 -147
- package/dist/packages/core/src/EventEmitter.d.ts +0 -11
- package/dist/packages/core/src/Extension.d.ts +0 -227
- package/dist/packages/core/src/ExtensionManager.d.ts +0 -18
- package/dist/packages/core/src/InputRule.d.ts +0 -42
- package/dist/packages/core/src/Mark.d.ts +0 -319
- package/dist/packages/core/src/Node.d.ts +0 -397
- package/dist/packages/core/src/NodeView.d.ts +0 -27
- package/dist/packages/core/src/PasteRule.d.ts +0 -42
- package/dist/packages/core/src/Tracker.d.ts +0 -11
- package/dist/packages/core/src/commands/blur.d.ts +0 -12
- package/dist/packages/core/src/commands/clearContent.d.ts +0 -12
- package/dist/packages/core/src/commands/clearNodes.d.ts +0 -12
- package/dist/packages/core/src/commands/command.d.ts +0 -12
- package/dist/packages/core/src/commands/createParagraphNear.d.ts +0 -12
- package/dist/packages/core/src/commands/deleteNode.d.ts +0 -13
- package/dist/packages/core/src/commands/deleteRange.d.ts +0 -12
- package/dist/packages/core/src/commands/deleteSelection.d.ts +0 -12
- package/dist/packages/core/src/commands/enter.d.ts +0 -12
- package/dist/packages/core/src/commands/exitCode.d.ts +0 -12
- package/dist/packages/core/src/commands/extendMarkRange.d.ts +0 -13
- package/dist/packages/core/src/commands/first.d.ts +0 -12
- package/dist/packages/core/src/commands/focus.d.ts +0 -14
- package/dist/packages/core/src/commands/forEach.d.ts +0 -14
- package/dist/packages/core/src/commands/insertContent.d.ts +0 -16
- package/dist/packages/core/src/commands/insertContentAt.d.ts +0 -16
- package/dist/packages/core/src/commands/joinBackward.d.ts +0 -12
- package/dist/packages/core/src/commands/joinForward.d.ts +0 -12
- package/dist/packages/core/src/commands/keyboardShortcut.d.ts +0 -12
- package/dist/packages/core/src/commands/lift.d.ts +0 -13
- package/dist/packages/core/src/commands/liftEmptyBlock.d.ts +0 -12
- package/dist/packages/core/src/commands/liftListItem.d.ts +0 -13
- package/dist/packages/core/src/commands/newlineInCode.d.ts +0 -12
- package/dist/packages/core/src/commands/resetAttributes.d.ts +0 -13
- package/dist/packages/core/src/commands/scrollIntoView.d.ts +0 -12
- package/dist/packages/core/src/commands/selectAll.d.ts +0 -12
- package/dist/packages/core/src/commands/selectNodeBackward.d.ts +0 -12
- package/dist/packages/core/src/commands/selectNodeForward.d.ts +0 -12
- package/dist/packages/core/src/commands/selectParentNode.d.ts +0 -12
- package/dist/packages/core/src/commands/setContent.d.ts +0 -13
- package/dist/packages/core/src/commands/setMark.d.ts +0 -13
- package/dist/packages/core/src/commands/setMeta.d.ts +0 -12
- package/dist/packages/core/src/commands/setNode.d.ts +0 -13
- package/dist/packages/core/src/commands/setNodeSelection.d.ts +0 -12
- package/dist/packages/core/src/commands/setTextSelection.d.ts +0 -12
- package/dist/packages/core/src/commands/sinkListItem.d.ts +0 -13
- package/dist/packages/core/src/commands/splitBlock.d.ts +0 -14
- package/dist/packages/core/src/commands/splitListItem.d.ts +0 -13
- package/dist/packages/core/src/commands/toggleList.d.ts +0 -13
- package/dist/packages/core/src/commands/toggleMark.d.ts +0 -18
- package/dist/packages/core/src/commands/toggleNode.d.ts +0 -13
- package/dist/packages/core/src/commands/toggleWrap.d.ts +0 -13
- package/dist/packages/core/src/commands/undoInputRule.d.ts +0 -12
- package/dist/packages/core/src/commands/unsetAllMarks.d.ts +0 -12
- package/dist/packages/core/src/commands/unsetMark.d.ts +0 -18
- package/dist/packages/core/src/commands/updateAttributes.d.ts +0 -13
- package/dist/packages/core/src/commands/wrapIn.d.ts +0 -13
- package/dist/packages/core/src/commands/wrapInList.d.ts +0 -13
- package/dist/packages/core/src/extensions/clipboardTextSerializer.d.ts +0 -2
- package/dist/packages/core/src/extensions/commands.d.ts +0 -98
- package/dist/packages/core/src/extensions/editable.d.ts +0 -2
- package/dist/packages/core/src/extensions/focusEvents.d.ts +0 -2
- package/dist/packages/core/src/extensions/index.d.ts +0 -6
- package/dist/packages/core/src/extensions/keymap.d.ts +0 -2
- package/dist/packages/core/src/extensions/tabindex.d.ts +0 -2
- package/dist/packages/core/src/helpers/combineTransactionSteps.d.ts +0 -7
- package/dist/packages/core/src/helpers/createChainableState.d.ts +0 -5
- package/dist/packages/core/src/helpers/createDocument.d.ts +0 -3
- package/dist/packages/core/src/helpers/createNodeFromContent.d.ts +0 -7
- package/dist/packages/core/src/helpers/defaultBlockAt.d.ts +0 -2
- package/dist/packages/core/src/helpers/findChildren.d.ts +0 -3
- package/dist/packages/core/src/helpers/findChildrenInRange.d.ts +0 -6
- package/dist/packages/core/src/helpers/findParentNode.d.ts +0 -9
- package/dist/packages/core/src/helpers/findParentNodeClosestToPos.d.ts +0 -8
- package/dist/packages/core/src/helpers/generateHTML.d.ts +0 -2
- package/dist/packages/core/src/helpers/generateJSON.d.ts +0 -2
- package/dist/packages/core/src/helpers/generateText.d.ts +0 -5
- package/dist/packages/core/src/helpers/getAttributes.d.ts +0 -3
- package/dist/packages/core/src/helpers/getAttributesFromExtensions.d.ts +0 -6
- package/dist/packages/core/src/helpers/getChangedRanges.d.ts +0 -11
- package/dist/packages/core/src/helpers/getDebugJSON.d.ts +0 -8
- package/dist/packages/core/src/helpers/getExtensionField.d.ts +0 -2
- package/dist/packages/core/src/helpers/getHTMLFromFragment.d.ts +0 -2
- package/dist/packages/core/src/helpers/getMarkAttributes.d.ts +0 -3
- package/dist/packages/core/src/helpers/getMarkRange.d.ts +0 -3
- package/dist/packages/core/src/helpers/getMarkType.d.ts +0 -2
- package/dist/packages/core/src/helpers/getMarksBetween.d.ts +0 -3
- package/dist/packages/core/src/helpers/getNodeAttributes.d.ts +0 -3
- package/dist/packages/core/src/helpers/getNodeType.d.ts +0 -2
- package/dist/packages/core/src/helpers/getRenderedAttributes.d.ts +0 -3
- package/dist/packages/core/src/helpers/getSchema.d.ts +0 -3
- package/dist/packages/core/src/helpers/getSchemaByResolvedExtensions.d.ts +0 -3
- package/dist/packages/core/src/helpers/getSchemaTypeByName.d.ts +0 -2
- package/dist/packages/core/src/helpers/getSchemaTypeNameByName.d.ts +0 -2
- package/dist/packages/core/src/helpers/getSplittedAttributes.d.ts +0 -2
- package/dist/packages/core/src/helpers/getText.d.ts +0 -6
- package/dist/packages/core/src/helpers/getTextBetween.d.ts +0 -6
- package/dist/packages/core/src/helpers/getTextSeralizersFromSchema.d.ts +0 -3
- package/dist/packages/core/src/helpers/injectExtensionAttributesToParseRule.d.ts +0 -9
- package/dist/packages/core/src/helpers/isActive.d.ts +0 -2
- package/dist/packages/core/src/helpers/isExtensionRulesEnabled.d.ts +0 -2
- package/dist/packages/core/src/helpers/isList.d.ts +0 -2
- package/dist/packages/core/src/helpers/isMarkActive.d.ts +0 -3
- package/dist/packages/core/src/helpers/isNodeActive.d.ts +0 -3
- package/dist/packages/core/src/helpers/isNodeEmpty.d.ts +0 -2
- package/dist/packages/core/src/helpers/isNodeSelection.d.ts +0 -2
- package/dist/packages/core/src/helpers/isTextSelection.d.ts +0 -2
- package/dist/packages/core/src/helpers/posToDOMRect.d.ts +0 -2
- package/dist/packages/core/src/helpers/resolveFocusPosition.d.ts +0 -4
- package/dist/packages/core/src/helpers/selectionToInsertionEnd.d.ts +0 -2
- package/dist/packages/core/src/helpers/splitExtensions.d.ts +0 -9
- package/dist/packages/core/src/index.d.ts +0 -60
- package/dist/packages/core/src/inputRules/markInputRule.d.ts +0 -12
- package/dist/packages/core/src/inputRules/nodeInputRule.d.ts +0 -12
- package/dist/packages/core/src/inputRules/textInputRule.d.ts +0 -9
- package/dist/packages/core/src/inputRules/textblockTypeInputRule.d.ts +0 -14
- package/dist/packages/core/src/inputRules/wrappingInputRule.d.ts +0 -23
- package/dist/packages/core/src/pasteRules/markPasteRule.d.ts +0 -12
- package/dist/packages/core/src/pasteRules/textPasteRule.d.ts +0 -9
- package/dist/packages/core/src/style.d.ts +0 -1
- package/dist/packages/core/src/types.d.ts +0 -210
- package/dist/packages/core/src/utilities/callOrReturn.d.ts +0 -9
- package/dist/packages/core/src/utilities/createStyleTag.d.ts +0 -1
- package/dist/packages/core/src/utilities/deleteProps.d.ts +0 -6
- package/dist/packages/core/src/utilities/elementFromString.d.ts +0 -1
- package/dist/packages/core/src/utilities/findDuplicates.d.ts +0 -1
- package/dist/packages/core/src/utilities/fromString.d.ts +0 -1
- package/dist/packages/core/src/utilities/isClass.d.ts +0 -1
- package/dist/packages/core/src/utilities/isEmptyObject.d.ts +0 -1
- package/dist/packages/core/src/utilities/isFunction.d.ts +0 -1
- package/dist/packages/core/src/utilities/isNumber.d.ts +0 -1
- package/dist/packages/core/src/utilities/isObject.d.ts +0 -1
- package/dist/packages/core/src/utilities/isPlainObject.d.ts +0 -1
- package/dist/packages/core/src/utilities/isRegExp.d.ts +0 -1
- package/dist/packages/core/src/utilities/isString.d.ts +0 -1
- package/dist/packages/core/src/utilities/isiOS.d.ts +0 -1
- package/dist/packages/core/src/utilities/mergeAttributes.d.ts +0 -1
- package/dist/packages/core/src/utilities/mergeDeep.d.ts +0 -1
- package/dist/packages/core/src/utilities/minMax.d.ts +0 -1
- package/dist/packages/core/src/utilities/objectIncludes.d.ts +0 -8
- package/dist/packages/core/src/utilities/removeDuplicates.d.ts +0 -8
- package/dist/packages/extension-blockquote/src/blockquote.d.ts +0 -24
- package/dist/packages/extension-blockquote/src/index.d.ts +0 -3
- package/dist/packages/extension-bold/src/bold.d.ts +0 -27
- package/dist/packages/extension-bold/src/index.d.ts +0 -3
- package/dist/packages/extension-bubble-menu/src/bubble-menu-plugin.d.ts +0 -43
- package/dist/packages/extension-bubble-menu/src/bubble-menu.d.ts +0 -6
- package/dist/packages/extension-bubble-menu/src/index.d.ts +0 -4
- package/dist/packages/extension-bullet-list/src/bullet-list.d.ts +0 -17
- package/dist/packages/extension-bullet-list/src/index.d.ts +0 -3
- package/dist/packages/extension-character-count/src/character-count.d.ts +0 -28
- package/dist/packages/extension-character-count/src/index.d.ts +0 -3
- package/dist/packages/extension-code/src/code.d.ts +0 -25
- package/dist/packages/extension-code/src/index.d.ts +0 -3
- package/dist/packages/extension-code-block/src/code-block.d.ts +0 -26
- package/dist/packages/extension-code-block/src/index.d.ts +0 -3
- package/dist/packages/extension-code-block-lowlight/src/code-block-lowlight.d.ts +0 -6
- package/dist/packages/extension-code-block-lowlight/src/index.d.ts +0 -3
- package/dist/packages/extension-code-block-lowlight/src/lowlight-plugin.d.ts +0 -6
- package/dist/packages/extension-collaboration/src/collaboration.d.ts +0 -30
- package/dist/packages/extension-collaboration/src/helpers/isChangeOrigin.d.ts +0 -2
- package/dist/packages/extension-collaboration/src/index.d.ts +0 -4
- package/dist/packages/extension-collaboration-cursor/src/collaboration-cursor.d.ts +0 -37
- package/dist/packages/extension-collaboration-cursor/src/index.d.ts +0 -3
- package/dist/packages/extension-color/src/color.d.ts +0 -20
- package/dist/packages/extension-color/src/index.d.ts +0 -3
- package/dist/packages/extension-document/src/document.d.ts +0 -2
- package/dist/packages/extension-document/src/index.d.ts +0 -3
- package/dist/packages/extension-dropcursor/src/dropcursor.d.ts +0 -7
- package/dist/packages/extension-dropcursor/src/index.d.ts +0 -3
- package/dist/packages/extension-floating-menu/src/floating-menu-plugin.d.ts +0 -40
- package/dist/packages/extension-floating-menu/src/floating-menu.d.ts +0 -6
- package/dist/packages/extension-floating-menu/src/index.d.ts +0 -4
- package/dist/packages/extension-focus/src/focus.d.ts +0 -6
- package/dist/packages/extension-focus/src/index.d.ts +0 -3
- package/dist/packages/extension-font-family/src/font-family.d.ts +0 -20
- package/dist/packages/extension-font-family/src/index.d.ts +0 -3
- package/dist/packages/extension-gapcursor/src/gapcursor.d.ts +0 -15
- package/dist/packages/extension-gapcursor/src/index.d.ts +0 -3
- package/dist/packages/extension-hard-break/src/hard-break.d.ts +0 -16
- package/dist/packages/extension-hard-break/src/index.d.ts +0 -3
- package/dist/packages/extension-heading/src/heading.d.ts +0 -26
- package/dist/packages/extension-heading/src/index.d.ts +0 -3
- package/dist/packages/extension-highlight/src/highlight.d.ts +0 -30
- package/dist/packages/extension-highlight/src/index.d.ts +0 -3
- package/dist/packages/extension-history/src/history.d.ts +0 -20
- package/dist/packages/extension-history/src/index.d.ts +0 -3
- package/dist/packages/extension-horizontal-rule/src/horizontal-rule.d.ts +0 -15
- package/dist/packages/extension-horizontal-rule/src/index.d.ts +0 -3
- package/dist/packages/extension-image/src/image.d.ts +0 -21
- package/dist/packages/extension-image/src/index.d.ts +0 -3
- package/dist/packages/extension-italic/src/index.d.ts +0 -3
- package/dist/packages/extension-italic/src/italic.d.ts +0 -27
- package/dist/packages/extension-link/src/helpers/autolink.d.ts +0 -7
- package/dist/packages/extension-link/src/helpers/clickHandler.d.ts +0 -7
- package/dist/packages/extension-link/src/helpers/pasteHandler.d.ts +0 -9
- package/dist/packages/extension-link/src/index.d.ts +0 -3
- package/dist/packages/extension-link/src/link.d.ts +0 -44
- package/dist/packages/extension-list-item/src/index.d.ts +0 -3
- package/dist/packages/extension-list-item/src/list-item.d.ts +0 -5
- package/dist/packages/extension-mention/src/index.d.ts +0 -3
- package/dist/packages/extension-mention/src/mention.d.ts +0 -14
- package/dist/packages/extension-ordered-list/src/index.d.ts +0 -3
- package/dist/packages/extension-ordered-list/src/ordered-list.d.ts +0 -17
- package/dist/packages/extension-paragraph/src/index.d.ts +0 -3
- package/dist/packages/extension-paragraph/src/paragraph.d.ts +0 -15
- package/dist/packages/extension-placeholder/src/index.d.ts +0 -3
- package/dist/packages/extension-placeholder/src/placeholder.d.ts +0 -15
- package/dist/packages/extension-strike/src/index.d.ts +0 -3
- package/dist/packages/extension-strike/src/strike.d.ts +0 -25
- package/dist/packages/extension-subscript/src/index.d.ts +0 -3
- package/dist/packages/extension-subscript/src/subscript.d.ts +0 -23
- package/dist/packages/extension-superscript/src/index.d.ts +0 -3
- package/dist/packages/extension-superscript/src/superscript.d.ts +0 -23
- package/dist/packages/extension-table/src/TableView.d.ts +0 -17
- package/dist/packages/extension-table/src/index.d.ts +0 -4
- package/dist/packages/extension-table/src/table.d.ts +0 -55
- package/dist/packages/extension-table/src/utilities/createCell.d.ts +0 -2
- package/dist/packages/extension-table/src/utilities/createTable.d.ts +0 -2
- package/dist/packages/extension-table/src/utilities/deleteTableWhenAllCellsSelected.d.ts +0 -2
- package/dist/packages/extension-table/src/utilities/getTableNodeTypes.d.ts +0 -4
- package/dist/packages/extension-table/src/utilities/isCellSelection.d.ts +0 -2
- package/dist/packages/extension-table-cell/src/index.d.ts +0 -3
- package/dist/packages/extension-table-cell/src/table-cell.d.ts +0 -5
- package/dist/packages/extension-table-header/src/index.d.ts +0 -3
- package/dist/packages/extension-table-header/src/table-header.d.ts +0 -5
- package/dist/packages/extension-table-row/src/index.d.ts +0 -3
- package/dist/packages/extension-table-row/src/table-row.d.ts +0 -5
- package/dist/packages/extension-task-item/src/index.d.ts +0 -3
- package/dist/packages/extension-task-item/src/task-item.d.ts +0 -7
- package/dist/packages/extension-task-list/src/index.d.ts +0 -3
- package/dist/packages/extension-task-list/src/task-list.d.ts +0 -16
- package/dist/packages/extension-text/src/index.d.ts +0 -3
- package/dist/packages/extension-text/src/text.d.ts +0 -2
- package/dist/packages/extension-text-align/src/index.d.ts +0 -3
- package/dist/packages/extension-text-align/src/text-align.d.ts +0 -21
- package/dist/packages/extension-text-style/src/index.d.ts +0 -3
- package/dist/packages/extension-text-style/src/text-style.d.ts +0 -15
- package/dist/packages/extension-typography/src/index.d.ts +0 -3
- package/dist/packages/extension-typography/src/typography.d.ts +0 -23
- package/dist/packages/extension-underline/src/index.d.ts +0 -3
- package/dist/packages/extension-underline/src/underline.d.ts +0 -23
- package/dist/packages/html/src/generateHTML.d.ts +0 -2
- package/dist/packages/html/src/generateJSON.d.ts +0 -2
- package/dist/packages/html/src/getHTMLFromFragment.d.ts +0 -2
- package/dist/packages/html/src/index.d.ts +0 -2
- package/dist/packages/starter-kit/src/index.d.ts +0 -3
- package/dist/packages/starter-kit/src/starter-kit.d.ts +0 -37
- package/dist/packages/suggestion/src/findSuggestionMatch.d.ts +0 -15
- package/dist/packages/suggestion/src/index.d.ts +0 -4
- package/dist/packages/suggestion/src/suggestion.d.ts +0 -49
- package/dist/tests/cypress/integration/core/can.spec.d.ts +0 -1
- package/dist/tests/cypress/integration/core/editorProps.spec.d.ts +0 -1
- package/dist/tests/cypress/integration/core/extendExtensions.spec.d.ts +0 -1
- package/dist/tests/cypress/integration/core/extendMarkRange.spec.d.ts +0 -1
- package/dist/tests/cypress/integration/core/extensionOptions.spec.d.ts +0 -1
- package/dist/tests/cypress/integration/core/fromString.spec.d.ts +0 -1
- package/dist/tests/cypress/integration/core/generateHTML.spec.d.ts +0 -1
- package/dist/tests/cypress/integration/core/generateJSON.spec.d.ts +0 -1
- package/dist/tests/cypress/integration/core/isActive.spec.d.ts +0 -1
- package/dist/tests/cypress/integration/core/isClass.spec.d.ts +0 -1
- package/dist/tests/cypress/integration/core/mergeAttributes.spec.d.ts +0 -1
- package/dist/tests/cypress/integration/core/mergeDeep.spec.d.ts +0 -1
- package/dist/tests/cypress/integration/core/pluginOrder.spec.d.ts +0 -1
- package/dist/tests/cypress/integration/extensions/bold.spec.d.ts +0 -1
- package/dist/tests/cypress/integration/extensions/codeBlockLowlight.spec.d.ts +0 -1
- package/dist/tests/cypress/integration/html/generateHTML.spec.d.ts +0 -1
- package/dist/tests/cypress/integration/html/generateJSON.spec.d.ts +0 -1
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ParseOptions } from 'prosemirror-model';
|
|
2
|
-
import { RawCommands, Content } from '../types';
|
|
3
|
-
declare module '@tiptap/core' {
|
|
4
|
-
interface Commands<ReturnType> {
|
|
5
|
-
insertContent: {
|
|
6
|
-
/**
|
|
7
|
-
* Insert a node or string of HTML at the current position.
|
|
8
|
-
*/
|
|
9
|
-
insertContent: (value: Content, options?: {
|
|
10
|
-
parseOptions?: ParseOptions;
|
|
11
|
-
updateSelection?: boolean;
|
|
12
|
-
}) => ReturnType;
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
export declare const insertContent: RawCommands['insertContent'];
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ParseOptions } from 'prosemirror-model';
|
|
2
|
-
import { RawCommands, Content, Range } from '../types';
|
|
3
|
-
declare module '@tiptap/core' {
|
|
4
|
-
interface Commands<ReturnType> {
|
|
5
|
-
insertContentAt: {
|
|
6
|
-
/**
|
|
7
|
-
* Insert a node or string of HTML at a specific position.
|
|
8
|
-
*/
|
|
9
|
-
insertContentAt: (position: number | Range, value: Content, options?: {
|
|
10
|
-
parseOptions?: ParseOptions;
|
|
11
|
-
updateSelection?: boolean;
|
|
12
|
-
}) => ReturnType;
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
export declare const insertContentAt: RawCommands['insertContentAt'];
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { RawCommands } from '../types';
|
|
2
|
-
declare module '@tiptap/core' {
|
|
3
|
-
interface Commands<ReturnType> {
|
|
4
|
-
joinBackward: {
|
|
5
|
-
/**
|
|
6
|
-
* Join two nodes backward.
|
|
7
|
-
*/
|
|
8
|
-
joinBackward: () => ReturnType;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
export declare const joinBackward: RawCommands['joinBackward'];
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { RawCommands } from '../types';
|
|
2
|
-
declare module '@tiptap/core' {
|
|
3
|
-
interface Commands<ReturnType> {
|
|
4
|
-
joinForward: {
|
|
5
|
-
/**
|
|
6
|
-
* Join two nodes forward.
|
|
7
|
-
*/
|
|
8
|
-
joinForward: () => ReturnType;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
export declare const joinForward: RawCommands['joinForward'];
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { RawCommands } from '../types';
|
|
2
|
-
declare module '@tiptap/core' {
|
|
3
|
-
interface Commands<ReturnType> {
|
|
4
|
-
keyboardShortcut: {
|
|
5
|
-
/**
|
|
6
|
-
* Trigger a keyboard shortcut.
|
|
7
|
-
*/
|
|
8
|
-
keyboardShortcut: (name: string) => ReturnType;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
export declare const keyboardShortcut: RawCommands['keyboardShortcut'];
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { NodeType } from 'prosemirror-model';
|
|
2
|
-
import { RawCommands } from '../types';
|
|
3
|
-
declare module '@tiptap/core' {
|
|
4
|
-
interface Commands<ReturnType> {
|
|
5
|
-
lift: {
|
|
6
|
-
/**
|
|
7
|
-
* Removes an existing wrap.
|
|
8
|
-
*/
|
|
9
|
-
lift: (typeOrName: string | NodeType, attributes?: Record<string, any>) => ReturnType;
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
export declare const lift: RawCommands['lift'];
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { RawCommands } from '../types';
|
|
2
|
-
declare module '@tiptap/core' {
|
|
3
|
-
interface Commands<ReturnType> {
|
|
4
|
-
liftEmptyBlock: {
|
|
5
|
-
/**
|
|
6
|
-
* Lift block if empty.
|
|
7
|
-
*/
|
|
8
|
-
liftEmptyBlock: () => ReturnType;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
export declare const liftEmptyBlock: RawCommands['liftEmptyBlock'];
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { NodeType } from 'prosemirror-model';
|
|
2
|
-
import { RawCommands } from '../types';
|
|
3
|
-
declare module '@tiptap/core' {
|
|
4
|
-
interface Commands<ReturnType> {
|
|
5
|
-
liftListItem: {
|
|
6
|
-
/**
|
|
7
|
-
* Lift the list item into a wrapping list.
|
|
8
|
-
*/
|
|
9
|
-
liftListItem: (typeOrName: string | NodeType) => ReturnType;
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
export declare const liftListItem: RawCommands['liftListItem'];
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { RawCommands } from '../types';
|
|
2
|
-
declare module '@tiptap/core' {
|
|
3
|
-
interface Commands<ReturnType> {
|
|
4
|
-
newlineInCode: {
|
|
5
|
-
/**
|
|
6
|
-
* Add a newline character in code.
|
|
7
|
-
*/
|
|
8
|
-
newlineInCode: () => ReturnType;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
export declare const newlineInCode: RawCommands['newlineInCode'];
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { NodeType, MarkType } from 'prosemirror-model';
|
|
2
|
-
import { RawCommands } from '../types';
|
|
3
|
-
declare module '@tiptap/core' {
|
|
4
|
-
interface Commands<ReturnType> {
|
|
5
|
-
resetAttributes: {
|
|
6
|
-
/**
|
|
7
|
-
* Resets some node attributes to the default value.
|
|
8
|
-
*/
|
|
9
|
-
resetAttributes: (typeOrName: string | NodeType | MarkType, attributes: string | string[]) => ReturnType;
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
export declare const resetAttributes: RawCommands['resetAttributes'];
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { RawCommands } from '../types';
|
|
2
|
-
declare module '@tiptap/core' {
|
|
3
|
-
interface Commands<ReturnType> {
|
|
4
|
-
scrollIntoView: {
|
|
5
|
-
/**
|
|
6
|
-
* Scroll the selection into view.
|
|
7
|
-
*/
|
|
8
|
-
scrollIntoView: () => ReturnType;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
export declare const scrollIntoView: RawCommands['scrollIntoView'];
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { RawCommands } from '../types';
|
|
2
|
-
declare module '@tiptap/core' {
|
|
3
|
-
interface Commands<ReturnType> {
|
|
4
|
-
selectAll: {
|
|
5
|
-
/**
|
|
6
|
-
* Select the whole document.
|
|
7
|
-
*/
|
|
8
|
-
selectAll: () => ReturnType;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
export declare const selectAll: RawCommands['selectAll'];
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { RawCommands } from '../types';
|
|
2
|
-
declare module '@tiptap/core' {
|
|
3
|
-
interface Commands<ReturnType> {
|
|
4
|
-
selectNodeBackward: {
|
|
5
|
-
/**
|
|
6
|
-
* Select a node backward.
|
|
7
|
-
*/
|
|
8
|
-
selectNodeBackward: () => ReturnType;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
export declare const selectNodeBackward: RawCommands['selectNodeBackward'];
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { RawCommands } from '../types';
|
|
2
|
-
declare module '@tiptap/core' {
|
|
3
|
-
interface Commands<ReturnType> {
|
|
4
|
-
selectNodeForward: {
|
|
5
|
-
/**
|
|
6
|
-
* Select a node forward.
|
|
7
|
-
*/
|
|
8
|
-
selectNodeForward: () => ReturnType;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
export declare const selectNodeForward: RawCommands['selectNodeForward'];
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { RawCommands } from '../types';
|
|
2
|
-
declare module '@tiptap/core' {
|
|
3
|
-
interface Commands<ReturnType> {
|
|
4
|
-
selectParentNode: {
|
|
5
|
-
/**
|
|
6
|
-
* Select the parent node.
|
|
7
|
-
*/
|
|
8
|
-
selectParentNode: () => ReturnType;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
export declare const selectParentNode: RawCommands['selectParentNode'];
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ParseOptions } from 'prosemirror-model';
|
|
2
|
-
import { RawCommands, Content } from '../types';
|
|
3
|
-
declare module '@tiptap/core' {
|
|
4
|
-
interface Commands<ReturnType> {
|
|
5
|
-
setContent: {
|
|
6
|
-
/**
|
|
7
|
-
* Replace the whole document with new content.
|
|
8
|
-
*/
|
|
9
|
-
setContent: (content: Content, emitUpdate?: boolean, parseOptions?: ParseOptions) => ReturnType;
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
export declare const setContent: RawCommands['setContent'];
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { MarkType } from 'prosemirror-model';
|
|
2
|
-
import { RawCommands } from '../types';
|
|
3
|
-
declare module '@tiptap/core' {
|
|
4
|
-
interface Commands<ReturnType> {
|
|
5
|
-
setMark: {
|
|
6
|
-
/**
|
|
7
|
-
* Add a mark with new attributes.
|
|
8
|
-
*/
|
|
9
|
-
setMark: (typeOrName: string | MarkType, attributes?: Record<string, any>) => ReturnType;
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
export declare const setMark: RawCommands['setMark'];
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { RawCommands } from '../types';
|
|
2
|
-
declare module '@tiptap/core' {
|
|
3
|
-
interface Commands<ReturnType> {
|
|
4
|
-
setMeta: {
|
|
5
|
-
/**
|
|
6
|
-
* Store a metadata property in the current transaction.
|
|
7
|
-
*/
|
|
8
|
-
setMeta: (key: string, value: any) => ReturnType;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
export declare const setMeta: RawCommands['setMeta'];
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { NodeType } from 'prosemirror-model';
|
|
2
|
-
import { RawCommands } from '../types';
|
|
3
|
-
declare module '@tiptap/core' {
|
|
4
|
-
interface Commands<ReturnType> {
|
|
5
|
-
setNode: {
|
|
6
|
-
/**
|
|
7
|
-
* Replace a given range with a node.
|
|
8
|
-
*/
|
|
9
|
-
setNode: (typeOrName: string | NodeType, attributes?: Record<string, any>) => ReturnType;
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
export declare const setNode: RawCommands['setNode'];
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { RawCommands } from '../types';
|
|
2
|
-
declare module '@tiptap/core' {
|
|
3
|
-
interface Commands<ReturnType> {
|
|
4
|
-
setNodeSelection: {
|
|
5
|
-
/**
|
|
6
|
-
* Creates a NodeSelection.
|
|
7
|
-
*/
|
|
8
|
-
setNodeSelection: (position: number) => ReturnType;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
export declare const setNodeSelection: RawCommands['setNodeSelection'];
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { RawCommands, Range } from '../types';
|
|
2
|
-
declare module '@tiptap/core' {
|
|
3
|
-
interface Commands<ReturnType> {
|
|
4
|
-
setTextSelection: {
|
|
5
|
-
/**
|
|
6
|
-
* Creates a TextSelection.
|
|
7
|
-
*/
|
|
8
|
-
setTextSelection: (position: number | Range) => ReturnType;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
export declare const setTextSelection: RawCommands['setTextSelection'];
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { NodeType } from 'prosemirror-model';
|
|
2
|
-
import { RawCommands } from '../types';
|
|
3
|
-
declare module '@tiptap/core' {
|
|
4
|
-
interface Commands<ReturnType> {
|
|
5
|
-
sinkListItem: {
|
|
6
|
-
/**
|
|
7
|
-
* Sink the list item down into an inner list.
|
|
8
|
-
*/
|
|
9
|
-
sinkListItem: (typeOrName: string | NodeType) => ReturnType;
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
export declare const sinkListItem: RawCommands['sinkListItem'];
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { RawCommands } from '../types';
|
|
2
|
-
declare module '@tiptap/core' {
|
|
3
|
-
interface Commands<ReturnType> {
|
|
4
|
-
splitBlock: {
|
|
5
|
-
/**
|
|
6
|
-
* Forks a new node from an existing node.
|
|
7
|
-
*/
|
|
8
|
-
splitBlock: (options?: {
|
|
9
|
-
keepMarks?: boolean;
|
|
10
|
-
}) => ReturnType;
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
export declare const splitBlock: RawCommands['splitBlock'];
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { NodeType } from 'prosemirror-model';
|
|
2
|
-
import { RawCommands } from '../types';
|
|
3
|
-
declare module '@tiptap/core' {
|
|
4
|
-
interface Commands<ReturnType> {
|
|
5
|
-
splitListItem: {
|
|
6
|
-
/**
|
|
7
|
-
* Splits one list item into two list items.
|
|
8
|
-
*/
|
|
9
|
-
splitListItem: (typeOrName: string | NodeType) => ReturnType;
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
export declare const splitListItem: RawCommands['splitListItem'];
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { NodeType } from 'prosemirror-model';
|
|
2
|
-
import { RawCommands } from '../types';
|
|
3
|
-
declare module '@tiptap/core' {
|
|
4
|
-
interface Commands<ReturnType> {
|
|
5
|
-
toggleList: {
|
|
6
|
-
/**
|
|
7
|
-
* Toggle between different list types.
|
|
8
|
-
*/
|
|
9
|
-
toggleList: (listTypeOrName: string | NodeType, itemTypeOrName: string | NodeType) => ReturnType;
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
export declare const toggleList: RawCommands['toggleList'];
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { MarkType } from 'prosemirror-model';
|
|
2
|
-
import { RawCommands } from '../types';
|
|
3
|
-
declare module '@tiptap/core' {
|
|
4
|
-
interface Commands<ReturnType> {
|
|
5
|
-
toggleMark: {
|
|
6
|
-
/**
|
|
7
|
-
* Toggle a mark on and off.
|
|
8
|
-
*/
|
|
9
|
-
toggleMark: (typeOrName: string | MarkType, attributes?: Record<string, any>, options?: {
|
|
10
|
-
/**
|
|
11
|
-
* Removes the mark even across the current selection. Defaults to `false`.
|
|
12
|
-
*/
|
|
13
|
-
extendEmptyMarkRange?: boolean;
|
|
14
|
-
}) => ReturnType;
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
export declare const toggleMark: RawCommands['toggleMark'];
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { NodeType } from 'prosemirror-model';
|
|
2
|
-
import { RawCommands } from '../types';
|
|
3
|
-
declare module '@tiptap/core' {
|
|
4
|
-
interface Commands<ReturnType> {
|
|
5
|
-
toggleNode: {
|
|
6
|
-
/**
|
|
7
|
-
* Toggle a node with another node.
|
|
8
|
-
*/
|
|
9
|
-
toggleNode: (typeOrName: string | NodeType, toggleTypeOrName: string | NodeType, attributes?: Record<string, any>) => ReturnType;
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
export declare const toggleNode: RawCommands['toggleNode'];
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { NodeType } from 'prosemirror-model';
|
|
2
|
-
import { RawCommands } from '../types';
|
|
3
|
-
declare module '@tiptap/core' {
|
|
4
|
-
interface Commands<ReturnType> {
|
|
5
|
-
toggleWrap: {
|
|
6
|
-
/**
|
|
7
|
-
* Wraps nodes in another node, or removes an existing wrap.
|
|
8
|
-
*/
|
|
9
|
-
toggleWrap: (typeOrName: string | NodeType, attributes?: Record<string, any>) => ReturnType;
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
export declare const toggleWrap: RawCommands['toggleWrap'];
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { RawCommands } from '../types';
|
|
2
|
-
declare module '@tiptap/core' {
|
|
3
|
-
interface Commands<ReturnType> {
|
|
4
|
-
undoInputRule: {
|
|
5
|
-
/**
|
|
6
|
-
* Undo an input rule.
|
|
7
|
-
*/
|
|
8
|
-
undoInputRule: () => ReturnType;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
export declare const undoInputRule: RawCommands['undoInputRule'];
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { RawCommands } from '../types';
|
|
2
|
-
declare module '@tiptap/core' {
|
|
3
|
-
interface Commands<ReturnType> {
|
|
4
|
-
unsetAllMarks: {
|
|
5
|
-
/**
|
|
6
|
-
* Remove all marks in the current selection.
|
|
7
|
-
*/
|
|
8
|
-
unsetAllMarks: () => ReturnType;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
export declare const unsetAllMarks: RawCommands['unsetAllMarks'];
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { MarkType } from 'prosemirror-model';
|
|
2
|
-
import { RawCommands } from '../types';
|
|
3
|
-
declare module '@tiptap/core' {
|
|
4
|
-
interface Commands<ReturnType> {
|
|
5
|
-
unsetMark: {
|
|
6
|
-
/**
|
|
7
|
-
* Remove all marks in the current selection.
|
|
8
|
-
*/
|
|
9
|
-
unsetMark: (typeOrName: string | MarkType, options?: {
|
|
10
|
-
/**
|
|
11
|
-
* Removes the mark even across the current selection. Defaults to `false`.
|
|
12
|
-
*/
|
|
13
|
-
extendEmptyMarkRange?: boolean;
|
|
14
|
-
}) => ReturnType;
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
export declare const unsetMark: RawCommands['unsetMark'];
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { NodeType, MarkType } from 'prosemirror-model';
|
|
2
|
-
import { RawCommands } from '../types';
|
|
3
|
-
declare module '@tiptap/core' {
|
|
4
|
-
interface Commands<ReturnType> {
|
|
5
|
-
updateAttributes: {
|
|
6
|
-
/**
|
|
7
|
-
* Update attributes of a node or mark.
|
|
8
|
-
*/
|
|
9
|
-
updateAttributes: (typeOrName: string | NodeType | MarkType, attributes: Record<string, any>) => ReturnType;
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
export declare const updateAttributes: RawCommands['updateAttributes'];
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { NodeType } from 'prosemirror-model';
|
|
2
|
-
import { RawCommands } from '../types';
|
|
3
|
-
declare module '@tiptap/core' {
|
|
4
|
-
interface Commands<ReturnType> {
|
|
5
|
-
wrapIn: {
|
|
6
|
-
/**
|
|
7
|
-
* Wraps nodes in another node.
|
|
8
|
-
*/
|
|
9
|
-
wrapIn: (typeOrName: string | NodeType, attributes?: Record<string, any>) => ReturnType;
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
export declare const wrapIn: RawCommands['wrapIn'];
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { NodeType } from 'prosemirror-model';
|
|
2
|
-
import { RawCommands } from '../types';
|
|
3
|
-
declare module '@tiptap/core' {
|
|
4
|
-
interface Commands<ReturnType> {
|
|
5
|
-
wrapInList: {
|
|
6
|
-
/**
|
|
7
|
-
* Wrap a node in a list.
|
|
8
|
-
*/
|
|
9
|
-
wrapInList: (typeOrName: string | NodeType, attributes?: Record<string, any>) => ReturnType;
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
export declare const wrapInList: RawCommands['wrapInList'];
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { Extension } from '../Extension';
|
|
2
|
-
import * as blur from '../commands/blur';
|
|
3
|
-
import * as clearContent from '../commands/clearContent';
|
|
4
|
-
import * as clearNodes from '../commands/clearNodes';
|
|
5
|
-
import * as command from '../commands/command';
|
|
6
|
-
import * as createParagraphNear from '../commands/createParagraphNear';
|
|
7
|
-
import * as deleteNode from '../commands/deleteNode';
|
|
8
|
-
import * as deleteRange from '../commands/deleteRange';
|
|
9
|
-
import * as deleteSelection from '../commands/deleteSelection';
|
|
10
|
-
import * as enter from '../commands/enter';
|
|
11
|
-
import * as exitCode from '../commands/exitCode';
|
|
12
|
-
import * as extendMarkRange from '../commands/extendMarkRange';
|
|
13
|
-
import * as first from '../commands/first';
|
|
14
|
-
import * as focus from '../commands/focus';
|
|
15
|
-
import * as forEach from '../commands/forEach';
|
|
16
|
-
import * as insertContent from '../commands/insertContent';
|
|
17
|
-
import * as insertContentAt from '../commands/insertContentAt';
|
|
18
|
-
import * as joinBackward from '../commands/joinBackward';
|
|
19
|
-
import * as joinForward from '../commands/joinForward';
|
|
20
|
-
import * as keyboardShortcut from '../commands/keyboardShortcut';
|
|
21
|
-
import * as lift from '../commands/lift';
|
|
22
|
-
import * as liftEmptyBlock from '../commands/liftEmptyBlock';
|
|
23
|
-
import * as liftListItem from '../commands/liftListItem';
|
|
24
|
-
import * as newlineInCode from '../commands/newlineInCode';
|
|
25
|
-
import * as resetAttributes from '../commands/resetAttributes';
|
|
26
|
-
import * as scrollIntoView from '../commands/scrollIntoView';
|
|
27
|
-
import * as selectAll from '../commands/selectAll';
|
|
28
|
-
import * as selectNodeBackward from '../commands/selectNodeBackward';
|
|
29
|
-
import * as selectNodeForward from '../commands/selectNodeForward';
|
|
30
|
-
import * as selectParentNode from '../commands/selectParentNode';
|
|
31
|
-
import * as setContent from '../commands/setContent';
|
|
32
|
-
import * as setMark from '../commands/setMark';
|
|
33
|
-
import * as setMeta from '../commands/setMeta';
|
|
34
|
-
import * as setNode from '../commands/setNode';
|
|
35
|
-
import * as setNodeSelection from '../commands/setNodeSelection';
|
|
36
|
-
import * as setTextSelection from '../commands/setTextSelection';
|
|
37
|
-
import * as sinkListItem from '../commands/sinkListItem';
|
|
38
|
-
import * as splitBlock from '../commands/splitBlock';
|
|
39
|
-
import * as splitListItem from '../commands/splitListItem';
|
|
40
|
-
import * as toggleList from '../commands/toggleList';
|
|
41
|
-
import * as toggleMark from '../commands/toggleMark';
|
|
42
|
-
import * as toggleNode from '../commands/toggleNode';
|
|
43
|
-
import * as toggleWrap from '../commands/toggleWrap';
|
|
44
|
-
import * as undoInputRule from '../commands/undoInputRule';
|
|
45
|
-
import * as unsetAllMarks from '../commands/unsetAllMarks';
|
|
46
|
-
import * as unsetMark from '../commands/unsetMark';
|
|
47
|
-
import * as updateAttributes from '../commands/updateAttributes';
|
|
48
|
-
import * as wrapIn from '../commands/wrapIn';
|
|
49
|
-
import * as wrapInList from '../commands/wrapInList';
|
|
50
|
-
export { blur };
|
|
51
|
-
export { clearContent };
|
|
52
|
-
export { clearNodes };
|
|
53
|
-
export { command };
|
|
54
|
-
export { createParagraphNear };
|
|
55
|
-
export { deleteNode };
|
|
56
|
-
export { deleteRange };
|
|
57
|
-
export { deleteSelection };
|
|
58
|
-
export { enter };
|
|
59
|
-
export { exitCode };
|
|
60
|
-
export { extendMarkRange };
|
|
61
|
-
export { first };
|
|
62
|
-
export { focus };
|
|
63
|
-
export { forEach };
|
|
64
|
-
export { insertContent };
|
|
65
|
-
export { insertContentAt };
|
|
66
|
-
export { joinBackward };
|
|
67
|
-
export { joinForward };
|
|
68
|
-
export { keyboardShortcut };
|
|
69
|
-
export { lift };
|
|
70
|
-
export { liftEmptyBlock };
|
|
71
|
-
export { liftListItem };
|
|
72
|
-
export { newlineInCode };
|
|
73
|
-
export { resetAttributes };
|
|
74
|
-
export { scrollIntoView };
|
|
75
|
-
export { selectAll };
|
|
76
|
-
export { selectNodeBackward };
|
|
77
|
-
export { selectNodeForward };
|
|
78
|
-
export { selectParentNode };
|
|
79
|
-
export { setContent };
|
|
80
|
-
export { setMark };
|
|
81
|
-
export { setMeta };
|
|
82
|
-
export { setNode };
|
|
83
|
-
export { setNodeSelection };
|
|
84
|
-
export { setTextSelection };
|
|
85
|
-
export { sinkListItem };
|
|
86
|
-
export { splitBlock };
|
|
87
|
-
export { splitListItem };
|
|
88
|
-
export { toggleList };
|
|
89
|
-
export { toggleMark };
|
|
90
|
-
export { toggleNode };
|
|
91
|
-
export { toggleWrap };
|
|
92
|
-
export { undoInputRule };
|
|
93
|
-
export { unsetAllMarks };
|
|
94
|
-
export { unsetMark };
|
|
95
|
-
export { updateAttributes };
|
|
96
|
-
export { wrapIn };
|
|
97
|
-
export { wrapInList };
|
|
98
|
-
export declare const Commands: Extension<any, any>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { ClipboardTextSerializer } from './clipboardTextSerializer';
|
|
2
|
-
export { Commands } from './commands';
|
|
3
|
-
export { Editable } from './editable';
|
|
4
|
-
export { FocusEvents } from './focusEvents';
|
|
5
|
-
export { Keymap } from './keymap';
|
|
6
|
-
export { Tabindex } from './tabindex';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Node as ProseMirrorNode } from 'prosemirror-model';
|
|
2
|
-
import { Transaction } from 'prosemirror-state';
|
|
3
|
-
import { Transform } from 'prosemirror-transform';
|
|
4
|
-
/**
|
|
5
|
-
* Returns a new `Transform` based on all steps of the passed transactions.
|
|
6
|
-
*/
|
|
7
|
-
export declare function combineTransactionSteps(oldDoc: ProseMirrorNode, transactions: Transaction[]): Transform;
|