@tiptap/extension-gapcursor 2.0.0-beta.20 → 2.0.0-beta.201
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/dist/packages/extension-gapcursor/src/gapcursor.d.ts +3 -2
- package/dist/tiptap-extension-gapcursor.cjs.js +2 -1
- package/dist/tiptap-extension-gapcursor.cjs.js.map +1 -1
- package/dist/tiptap-extension-gapcursor.esm.js +1 -0
- package/dist/tiptap-extension-gapcursor.esm.js.map +1 -1
- package/dist/tiptap-extension-gapcursor.umd.js +5 -4
- package/dist/tiptap-extension-gapcursor.umd.js.map +1 -1
- package/package.json +4 -6
- package/src/gapcursor.ts +4 -2
- package/LICENSE.md +0 -21
- package/dist/demos/setup/helper.d.ts +0 -2
- package/dist/demos/setup/react.d.ts +0 -3
- package/dist/demos/setup/vue.d.ts +0 -3
- package/dist/demos/src/Examples/Savvy/Vue/ColorHighlighter.d.ts +0 -2
- package/dist/demos/src/Examples/Savvy/Vue/SmilieReplacer.d.ts +0 -2
- package/dist/demos/src/Examples/Savvy/Vue/findColors.d.ts +0 -3
- package/dist/demos/src/Experiments/CollaborationAnnotation/Vue/extension/AnnotationItem.d.ts +0 -10
- package/dist/demos/src/Experiments/CollaborationAnnotation/Vue/extension/AnnotationPlugin.d.ts +0 -12
- package/dist/demos/src/Experiments/CollaborationAnnotation/Vue/extension/AnnotationState.d.ts +0 -27
- package/dist/demos/src/Experiments/CollaborationAnnotation/Vue/extension/collaboration-annotation.d.ts +0 -49
- package/dist/demos/src/Experiments/CollaborationAnnotation/Vue/extension/index.d.ts +0 -3
- package/dist/demos/src/Experiments/Details/Vue/details-summary.d.ts +0 -8
- package/dist/demos/src/Experiments/Details/Vue/details.d.ts +0 -26
- package/dist/demos/src/Experiments/Embeds/Vue/iframe.d.ts +0 -21
- package/dist/demos/src/Experiments/Figure/Vue/figure.d.ts +0 -29
- package/dist/demos/src/Experiments/GenericFigure/Vue/figcaption.d.ts +0 -4
- package/dist/demos/src/Experiments/GenericFigure/Vue/figure.d.ts +0 -4
- package/dist/demos/src/Experiments/Linter/Vue/extension/Linter.d.ts +0 -6
- package/dist/demos/src/Experiments/Linter/Vue/extension/LinterPlugin.d.ts +0 -15
- package/dist/demos/src/Experiments/Linter/Vue/extension/index.d.ts +0 -6
- package/dist/demos/src/Experiments/Linter/Vue/extension/plugins/BadWords.d.ts +0 -5
- package/dist/demos/src/Experiments/Linter/Vue/extension/plugins/HeadingLevel.d.ts +0 -6
- package/dist/demos/src/Experiments/Linter/Vue/extension/plugins/Punctuation.d.ts +0 -7
- package/dist/demos/src/Experiments/TrailingNode/Vue/trailing-node.d.ts +0 -11
- package/dist/demos/vite.config.d.ts +0 -2
- package/dist/packages/core/src/CommandManager.d.ts +0 -13
- package/dist/packages/core/src/Editor.d.ts +0 -140
- package/dist/packages/core/src/EventEmitter.d.ts +0 -7
- package/dist/packages/core/src/Extension.d.ts +0 -193
- package/dist/packages/core/src/ExtensionManager.d.ts +0 -18
- package/dist/packages/core/src/Mark.d.ts +0 -269
- package/dist/packages/core/src/Node.d.ts +0 -339
- package/dist/packages/core/src/NodeView.d.ts +0 -27
- 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 -12
- package/dist/packages/core/src/commands/forEach.d.ts +0 -14
- package/dist/packages/core/src/commands/insertContent.d.ts +0 -13
- package/dist/packages/core/src/commands/insertContentAt.d.ts +0 -13
- 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 -5
- package/dist/packages/core/src/extensions/keymap.d.ts +0 -2
- 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/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/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/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/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 -50
- package/dist/packages/core/src/inputRules/markInputRule.d.ts +0 -3
- package/dist/packages/core/src/inputRules/nodeInputRule.d.ts +0 -3
- package/dist/packages/core/src/pasteRules/markPasteRule.d.ts +0 -3
- package/dist/packages/core/src/style.d.ts +0 -2
- package/dist/packages/core/src/types.d.ts +0 -194
- 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/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/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/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/removeElement.d.ts +0 -1
- 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 -16
- package/dist/packages/extension-bullet-list/src/index.d.ts +0 -3
- package/dist/packages/extension-character-count/src/character-count.d.ts +0 -7
- 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 -5
- 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 -5
- package/dist/packages/extension-collaboration/src/collaboration.d.ts +0 -30
- package/dist/packages/extension-collaboration/src/index.d.ts +0 -3
- package/dist/packages/extension-collaboration-cursor/src/collaboration-cursor.d.ts +0 -21
- package/dist/packages/extension-collaboration-cursor/src/index.d.ts +0 -3
- package/dist/packages/extension-color/src/color.d.ts +0 -21
- 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 -21
- package/dist/packages/extension-font-family/src/index.d.ts +0 -3
- package/dist/packages/extension-hard-break/src/hard-break.d.ts +0 -15
- 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/index.d.ts +0 -3
- package/dist/packages/extension-link/src/link.d.ts +0 -48
- 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 -16
- 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 -14
- 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 -54
- 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 -15
- 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 -18
- 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/react/src/BubbleMenu.d.ts +0 -8
- package/dist/packages/react/src/Editor.d.ts +0 -6
- package/dist/packages/react/src/EditorContent.d.ts +0 -19
- package/dist/packages/react/src/FloatingMenu.d.ts +0 -8
- package/dist/packages/react/src/NodeViewContent.d.ts +0 -6
- package/dist/packages/react/src/NodeViewWrapper.d.ts +0 -6
- package/dist/packages/react/src/ReactNodeViewRenderer.d.ts +0 -13
- package/dist/packages/react/src/ReactRenderer.d.ts +0 -25
- package/dist/packages/react/src/index.d.ts +0 -10
- package/dist/packages/react/src/useEditor.d.ts +0 -4
- package/dist/packages/react/src/useReactNodeView.d.ts +0 -7
- 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 -46
- package/dist/packages/vue-2/src/BubbleMenu.d.ts +0 -9
- package/dist/packages/vue-2/src/Editor.d.ts +0 -5
- package/dist/packages/vue-2/src/EditorContent.d.ts +0 -6
- package/dist/packages/vue-2/src/FloatingMenu.d.ts +0 -9
- package/dist/packages/vue-2/src/NodeViewContent.d.ts +0 -5
- package/dist/packages/vue-2/src/NodeViewWrapper.d.ts +0 -9
- package/dist/packages/vue-2/src/VueNodeViewRenderer.d.ts +0 -51
- package/dist/packages/vue-2/src/VueRenderer.d.ts +0 -9
- package/dist/packages/vue-2/src/index.d.ts +0 -9
- package/dist/packages/vue-3/src/BubbleMenu.d.ts +0 -56
- package/dist/packages/vue-3/src/Editor.d.ts +0 -22
- package/dist/packages/vue-3/src/EditorContent.d.ts +0 -16
- package/dist/packages/vue-3/src/FloatingMenu.d.ts +0 -50
- package/dist/packages/vue-3/src/NodeViewContent.d.ts +0 -12
- package/dist/packages/vue-3/src/NodeViewWrapper.d.ts +0 -12
- package/dist/packages/vue-3/src/VueNodeViewRenderer.d.ts +0 -50
- package/dist/packages/vue-3/src/VueRenderer.d.ts +0 -19
- package/dist/packages/vue-3/src/index.d.ts +0 -10
- package/dist/packages/vue-3/src/useEditor.d.ts +0 -3
- 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/extensions/bold.spec.d.ts +0 -1
- package/dist/tests/cypress/integration/extensions/codeBlockLowlight.spec.d.ts +0 -1
- package/dist/tests/cypress/integration/extensions/link.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,23 +0,0 @@
|
|
|
1
|
-
import { Mark } from '@tiptap/core';
|
|
2
|
-
export interface SubscriptExtensionOptions {
|
|
3
|
-
HTMLAttributes: Object;
|
|
4
|
-
}
|
|
5
|
-
declare module '@tiptap/core' {
|
|
6
|
-
interface Commands<ReturnType> {
|
|
7
|
-
subscript: {
|
|
8
|
-
/**
|
|
9
|
-
* Set a subscript mark
|
|
10
|
-
*/
|
|
11
|
-
setSubscript: () => ReturnType;
|
|
12
|
-
/**
|
|
13
|
-
* Toggle a subscript mark
|
|
14
|
-
*/
|
|
15
|
-
toggleSubscript: () => ReturnType;
|
|
16
|
-
/**
|
|
17
|
-
* Unset a subscript mark
|
|
18
|
-
*/
|
|
19
|
-
unsetSubscript: () => ReturnType;
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
export declare const Subscript: Mark<SubscriptExtensionOptions>;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Mark } from '@tiptap/core';
|
|
2
|
-
export interface SuperscriptExtensionOptions {
|
|
3
|
-
HTMLAttributes: Object;
|
|
4
|
-
}
|
|
5
|
-
declare module '@tiptap/core' {
|
|
6
|
-
interface Commands<ReturnType> {
|
|
7
|
-
superscript: {
|
|
8
|
-
/**
|
|
9
|
-
* Set a superscript mark
|
|
10
|
-
*/
|
|
11
|
-
setSuperscript: () => ReturnType;
|
|
12
|
-
/**
|
|
13
|
-
* Toggle a superscript mark
|
|
14
|
-
*/
|
|
15
|
-
toggleSuperscript: () => ReturnType;
|
|
16
|
-
/**
|
|
17
|
-
* Unset a superscript mark
|
|
18
|
-
*/
|
|
19
|
-
unsetSuperscript: () => ReturnType;
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
export declare const Superscript: Mark<SuperscriptExtensionOptions>;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { NodeView } from 'prosemirror-view';
|
|
2
|
-
import { Node as ProseMirrorNode } from 'prosemirror-model';
|
|
3
|
-
export declare function updateColumns(node: ProseMirrorNode, colgroup: Element, table: Element, cellMinWidth: number, overrideCol?: number, overrideValue?: any): void;
|
|
4
|
-
export declare class TableView implements NodeView {
|
|
5
|
-
node: ProseMirrorNode;
|
|
6
|
-
cellMinWidth: number;
|
|
7
|
-
dom: Element;
|
|
8
|
-
table: Element;
|
|
9
|
-
colgroup: Element;
|
|
10
|
-
contentDOM: Element;
|
|
11
|
-
constructor(node: ProseMirrorNode, cellMinWidth: number);
|
|
12
|
-
update(node: ProseMirrorNode): boolean;
|
|
13
|
-
ignoreMutation(mutation: MutationRecord | {
|
|
14
|
-
type: 'selection';
|
|
15
|
-
target: Element;
|
|
16
|
-
}): boolean;
|
|
17
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { Node, ParentConfig } from '@tiptap/core';
|
|
2
|
-
import { NodeView } from 'prosemirror-view';
|
|
3
|
-
export interface TableOptions {
|
|
4
|
-
HTMLAttributes: Record<string, any>;
|
|
5
|
-
resizable: boolean;
|
|
6
|
-
handleWidth: number;
|
|
7
|
-
cellMinWidth: number;
|
|
8
|
-
View: NodeView;
|
|
9
|
-
lastColumnResizable: boolean;
|
|
10
|
-
allowTableNodeSelection: boolean;
|
|
11
|
-
}
|
|
12
|
-
declare module '@tiptap/core' {
|
|
13
|
-
interface Commands<ReturnType> {
|
|
14
|
-
table: {
|
|
15
|
-
insertTable: (options?: {
|
|
16
|
-
rows?: number;
|
|
17
|
-
cols?: number;
|
|
18
|
-
withHeaderRow?: boolean;
|
|
19
|
-
}) => ReturnType;
|
|
20
|
-
addColumnBefore: () => ReturnType;
|
|
21
|
-
addColumnAfter: () => ReturnType;
|
|
22
|
-
deleteColumn: () => ReturnType;
|
|
23
|
-
addRowBefore: () => ReturnType;
|
|
24
|
-
addRowAfter: () => ReturnType;
|
|
25
|
-
deleteRow: () => ReturnType;
|
|
26
|
-
deleteTable: () => ReturnType;
|
|
27
|
-
mergeCells: () => ReturnType;
|
|
28
|
-
splitCell: () => ReturnType;
|
|
29
|
-
toggleHeaderColumn: () => ReturnType;
|
|
30
|
-
toggleHeaderRow: () => ReturnType;
|
|
31
|
-
toggleHeaderCell: () => ReturnType;
|
|
32
|
-
mergeOrSplit: () => ReturnType;
|
|
33
|
-
setCellAttribute: (name: string, value: any) => ReturnType;
|
|
34
|
-
goToNextCell: () => ReturnType;
|
|
35
|
-
goToPreviousCell: () => ReturnType;
|
|
36
|
-
fixTables: () => ReturnType;
|
|
37
|
-
setCellSelection: (position: {
|
|
38
|
-
anchorCell: number;
|
|
39
|
-
headCell?: number;
|
|
40
|
-
}) => ReturnType;
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
interface NodeConfig<Options> {
|
|
44
|
-
/**
|
|
45
|
-
* Table Role
|
|
46
|
-
*/
|
|
47
|
-
tableRole?: string | ((this: {
|
|
48
|
-
name: string;
|
|
49
|
-
options: Options;
|
|
50
|
-
parent: ParentConfig<NodeConfig<Options>>['tableRole'];
|
|
51
|
-
}) => string);
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
export declare const Table: Node<TableOptions>;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { Schema, Fragment, Node as ProsemirrorNode } from 'prosemirror-model';
|
|
2
|
-
export declare function createTable(schema: Schema, rowsCount: number, colsCount: number, withHeaderRow: boolean, cellContent?: Fragment<Schema> | ProsemirrorNode<Schema> | Array<ProsemirrorNode<Schema>>): ProsemirrorNode;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Node } from '@tiptap/core';
|
|
2
|
-
export interface TaskListOptions {
|
|
3
|
-
HTMLAttributes: Record<string, any>;
|
|
4
|
-
}
|
|
5
|
-
declare module '@tiptap/core' {
|
|
6
|
-
interface Commands<ReturnType> {
|
|
7
|
-
taskList: {
|
|
8
|
-
/**
|
|
9
|
-
* Toggle a task list
|
|
10
|
-
*/
|
|
11
|
-
toggleTaskList: () => ReturnType;
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
export declare const TaskList: Node<TaskListOptions>;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Extension } from '@tiptap/core';
|
|
2
|
-
export interface TextAlignOptions {
|
|
3
|
-
types: string[];
|
|
4
|
-
alignments: string[];
|
|
5
|
-
defaultAlignment: string;
|
|
6
|
-
}
|
|
7
|
-
declare module '@tiptap/core' {
|
|
8
|
-
interface Commands<ReturnType> {
|
|
9
|
-
textAlign: {
|
|
10
|
-
/**
|
|
11
|
-
* Set the text align attribute
|
|
12
|
-
*/
|
|
13
|
-
setTextAlign: (alignment: string) => ReturnType;
|
|
14
|
-
/**
|
|
15
|
-
* Unset the text align attribute
|
|
16
|
-
*/
|
|
17
|
-
unsetTextAlign: () => ReturnType;
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
export declare const TextAlign: Extension<TextAlignOptions>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Mark } from '@tiptap/core';
|
|
2
|
-
export interface TextStyleOptions {
|
|
3
|
-
HTMLAttributes: Record<string, any>;
|
|
4
|
-
}
|
|
5
|
-
declare module '@tiptap/core' {
|
|
6
|
-
interface Commands<ReturnType> {
|
|
7
|
-
textStyle: {
|
|
8
|
-
/**
|
|
9
|
-
* Remove spans without inline style attributes.
|
|
10
|
-
*/
|
|
11
|
-
removeEmptyTextStyle: () => ReturnType;
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
export declare const TextStyle: Mark<TextStyleOptions>;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Extension } from '@tiptap/core';
|
|
2
|
-
import { InputRule } from 'prosemirror-inputrules';
|
|
3
|
-
export declare const leftArrow: InputRule<any>;
|
|
4
|
-
export declare const rightArrow: InputRule<any>;
|
|
5
|
-
export declare const copyright: InputRule<any>;
|
|
6
|
-
export declare const trademark: InputRule<any>;
|
|
7
|
-
export declare const registeredTrademark: InputRule<any>;
|
|
8
|
-
export declare const oneHalf: InputRule<any>;
|
|
9
|
-
export declare const plusMinus: InputRule<any>;
|
|
10
|
-
export declare const notEqual: InputRule<any>;
|
|
11
|
-
export declare const laquo: InputRule<any>;
|
|
12
|
-
export declare const raquo: InputRule<any>;
|
|
13
|
-
export declare const multiplication: InputRule<any>;
|
|
14
|
-
export declare const superscriptTwo: InputRule<any>;
|
|
15
|
-
export declare const superscriptThree: InputRule<any>;
|
|
16
|
-
export declare const oneQuarter: InputRule<any>;
|
|
17
|
-
export declare const threeQuarters: InputRule<any>;
|
|
18
|
-
export declare const Typography: Extension<unknown>;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Mark } from '@tiptap/core';
|
|
2
|
-
export interface UnderlineOptions {
|
|
3
|
-
HTMLAttributes: Record<string, any>;
|
|
4
|
-
}
|
|
5
|
-
declare module '@tiptap/core' {
|
|
6
|
-
interface Commands<ReturnType> {
|
|
7
|
-
underline: {
|
|
8
|
-
/**
|
|
9
|
-
* Set an underline mark
|
|
10
|
-
*/
|
|
11
|
-
setUnderline: () => ReturnType;
|
|
12
|
-
/**
|
|
13
|
-
* Toggle an underline mark
|
|
14
|
-
*/
|
|
15
|
-
toggleUnderline: () => ReturnType;
|
|
16
|
-
/**
|
|
17
|
-
* Unset an underline mark
|
|
18
|
-
*/
|
|
19
|
-
unsetUnderline: () => ReturnType;
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
export declare const Underline: Mark<UnderlineOptions>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BubbleMenuPluginProps } from '@tiptap/extension-bubble-menu';
|
|
3
|
-
declare type Optional<T, K extends keyof T> = Pick<Partial<T>, K> & Omit<T, K>;
|
|
4
|
-
export declare type BubbleMenuProps = Omit<Optional<BubbleMenuPluginProps, 'pluginKey'>, 'element'> & {
|
|
5
|
-
className?: string;
|
|
6
|
-
};
|
|
7
|
-
export declare const BubbleMenu: React.FC<BubbleMenuProps>;
|
|
8
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Editor as CoreEditor } from '@tiptap/core';
|
|
3
|
-
import { EditorContentProps, EditorContentState } from './EditorContent';
|
|
4
|
-
export declare class Editor extends CoreEditor {
|
|
5
|
-
contentComponent: React.Component<EditorContentProps, EditorContentState> | null;
|
|
6
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import React, { HTMLProps } from 'react';
|
|
2
|
-
import { Editor } from './Editor';
|
|
3
|
-
import { ReactRenderer } from './ReactRenderer';
|
|
4
|
-
export interface EditorContentProps extends HTMLProps<HTMLDivElement> {
|
|
5
|
-
editor: Editor | null;
|
|
6
|
-
}
|
|
7
|
-
export interface EditorContentState {
|
|
8
|
-
renderers: Map<string, ReactRenderer>;
|
|
9
|
-
}
|
|
10
|
-
export declare class PureEditorContent extends React.Component<EditorContentProps, EditorContentState> {
|
|
11
|
-
editorContentRef: React.RefObject<any>;
|
|
12
|
-
constructor(props: EditorContentProps);
|
|
13
|
-
componentDidMount(): void;
|
|
14
|
-
componentDidUpdate(): void;
|
|
15
|
-
init(): void;
|
|
16
|
-
componentWillUnmount(): void;
|
|
17
|
-
render(): JSX.Element;
|
|
18
|
-
}
|
|
19
|
-
export declare const EditorContent: React.MemoExoticComponent<typeof PureEditorContent>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { FloatingMenuPluginProps } from '@tiptap/extension-floating-menu';
|
|
3
|
-
declare type Optional<T, K extends keyof T> = Pick<Partial<T>, K> & Omit<T, K>;
|
|
4
|
-
export declare type FloatingMenuProps = Omit<Optional<FloatingMenuPluginProps, 'pluginKey'>, 'element'> & {
|
|
5
|
-
className?: string;
|
|
6
|
-
};
|
|
7
|
-
export declare const FloatingMenu: React.FC<FloatingMenuProps>;
|
|
8
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { NodeViewRenderer, NodeViewRendererOptions } from '@tiptap/core';
|
|
2
|
-
import { Decoration } from 'prosemirror-view';
|
|
3
|
-
import { Node as ProseMirrorNode } from 'prosemirror-model';
|
|
4
|
-
export interface ReactNodeViewRendererOptions extends NodeViewRendererOptions {
|
|
5
|
-
update: ((props: {
|
|
6
|
-
oldNode: ProseMirrorNode;
|
|
7
|
-
oldDecorations: Decoration[];
|
|
8
|
-
newNode: ProseMirrorNode;
|
|
9
|
-
newDecorations: Decoration[];
|
|
10
|
-
updateProps: () => void;
|
|
11
|
-
}) => boolean) | null;
|
|
12
|
-
}
|
|
13
|
-
export declare function ReactNodeViewRenderer(component: any, options?: Partial<ReactNodeViewRendererOptions>): NodeViewRenderer;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Editor } from './Editor';
|
|
3
|
-
export interface ReactRendererOptions {
|
|
4
|
-
editor: Editor;
|
|
5
|
-
props?: Record<string, any>;
|
|
6
|
-
as?: string;
|
|
7
|
-
}
|
|
8
|
-
declare type ComponentType = React.ComponentClass | React.FunctionComponent | React.ForwardRefExoticComponent<{
|
|
9
|
-
items: any[];
|
|
10
|
-
command: any;
|
|
11
|
-
} & React.RefAttributes<unknown>>;
|
|
12
|
-
export declare class ReactRenderer {
|
|
13
|
-
id: string;
|
|
14
|
-
editor: Editor;
|
|
15
|
-
component: any;
|
|
16
|
-
element: Element;
|
|
17
|
-
props: Record<string, any>;
|
|
18
|
-
reactElement: React.ReactNode;
|
|
19
|
-
ref: React.Component | null;
|
|
20
|
-
constructor(component: ComponentType, { editor, props, as }: ReactRendererOptions);
|
|
21
|
-
render(): void;
|
|
22
|
-
updateProps(props?: Record<string, any>): void;
|
|
23
|
-
destroy(): void;
|
|
24
|
-
}
|
|
25
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export * from '@tiptap/core';
|
|
2
|
-
export * from './BubbleMenu';
|
|
3
|
-
export { Editor } from './Editor';
|
|
4
|
-
export * from './FloatingMenu';
|
|
5
|
-
export * from './useEditor';
|
|
6
|
-
export * from './ReactRenderer';
|
|
7
|
-
export * from './ReactNodeViewRenderer';
|
|
8
|
-
export * from './EditorContent';
|
|
9
|
-
export * from './NodeViewWrapper';
|
|
10
|
-
export * from './NodeViewContent';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface ReactNodeViewContextProps {
|
|
3
|
-
onDragStart: (event: DragEvent) => void;
|
|
4
|
-
maybeMoveContentDOM: () => void;
|
|
5
|
-
}
|
|
6
|
-
export declare const ReactNodeViewContext: import("react").Context<Partial<ReactNodeViewContextProps>>;
|
|
7
|
-
export declare const useReactNodeView: () => Partial<ReactNodeViewContextProps>;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { Extension } from '@tiptap/core';
|
|
2
|
-
import { BlockquoteOptions } from '@tiptap/extension-blockquote';
|
|
3
|
-
import { BoldOptions } from '@tiptap/extension-bold';
|
|
4
|
-
import { BulletListOptions } from '@tiptap/extension-bullet-list';
|
|
5
|
-
import { CodeOptions } from '@tiptap/extension-code';
|
|
6
|
-
import { CodeBlockOptions } from '@tiptap/extension-code-block';
|
|
7
|
-
import { DropcursorOptions } from '@tiptap/extension-dropcursor';
|
|
8
|
-
import { HardBreakOptions } from '@tiptap/extension-hard-break';
|
|
9
|
-
import { HeadingOptions } from '@tiptap/extension-heading';
|
|
10
|
-
import { HistoryOptions } from '@tiptap/extension-history';
|
|
11
|
-
import { HorizontalRuleOptions } from '@tiptap/extension-horizontal-rule';
|
|
12
|
-
import { ItalicOptions } from '@tiptap/extension-italic';
|
|
13
|
-
import { ListItemOptions } from '@tiptap/extension-list-item';
|
|
14
|
-
import { OrderedListOptions } from '@tiptap/extension-ordered-list';
|
|
15
|
-
import { ParagraphOptions } from '@tiptap/extension-paragraph';
|
|
16
|
-
import { StrikeOptions } from '@tiptap/extension-strike';
|
|
17
|
-
export interface StarterKitOptions {
|
|
18
|
-
blockquote: Partial<BlockquoteOptions> | false;
|
|
19
|
-
bold: Partial<BoldOptions> | false;
|
|
20
|
-
bulletList: Partial<BulletListOptions> | false;
|
|
21
|
-
code: Partial<CodeOptions> | false;
|
|
22
|
-
codeBlock: Partial<CodeBlockOptions> | false;
|
|
23
|
-
document: false;
|
|
24
|
-
dropcursor: Partial<DropcursorOptions> | false;
|
|
25
|
-
gapcursor: false;
|
|
26
|
-
hardBreak: Partial<HardBreakOptions> | false;
|
|
27
|
-
heading: Partial<HeadingOptions> | false;
|
|
28
|
-
history: Partial<HistoryOptions> | false;
|
|
29
|
-
horizontalRule: Partial<HorizontalRuleOptions> | false;
|
|
30
|
-
italic: Partial<ItalicOptions> | false;
|
|
31
|
-
listItem: Partial<ListItemOptions> | false;
|
|
32
|
-
orderedList: Partial<OrderedListOptions> | false;
|
|
33
|
-
paragraph: Partial<ParagraphOptions> | false;
|
|
34
|
-
strike: Partial<StrikeOptions> | false;
|
|
35
|
-
text: false;
|
|
36
|
-
}
|
|
37
|
-
export declare const StarterKit: Extension<StarterKitOptions>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Range } from '@tiptap/core';
|
|
2
|
-
import { ResolvedPos } from 'prosemirror-model';
|
|
3
|
-
export interface Trigger {
|
|
4
|
-
char: string;
|
|
5
|
-
allowSpaces: boolean;
|
|
6
|
-
prefixSpace: boolean;
|
|
7
|
-
startOfLine: boolean;
|
|
8
|
-
$position: ResolvedPos;
|
|
9
|
-
}
|
|
10
|
-
export declare type SuggestionMatch = {
|
|
11
|
-
range: Range;
|
|
12
|
-
query: string;
|
|
13
|
-
text: string;
|
|
14
|
-
} | null;
|
|
15
|
-
export declare function findSuggestionMatch(config: Trigger): SuggestionMatch;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { Editor, Range } from '@tiptap/core';
|
|
2
|
-
import { Plugin, PluginKey } from 'prosemirror-state';
|
|
3
|
-
import { EditorView } from 'prosemirror-view';
|
|
4
|
-
export interface SuggestionOptions {
|
|
5
|
-
pluginKey?: PluginKey;
|
|
6
|
-
editor: Editor;
|
|
7
|
-
char?: string;
|
|
8
|
-
allowSpaces?: boolean;
|
|
9
|
-
startOfLine?: boolean;
|
|
10
|
-
prefixSpace?: boolean;
|
|
11
|
-
decorationTag?: string;
|
|
12
|
-
decorationClass?: string;
|
|
13
|
-
command?: (props: {
|
|
14
|
-
editor: Editor;
|
|
15
|
-
range: Range;
|
|
16
|
-
props: any;
|
|
17
|
-
}) => void;
|
|
18
|
-
items?: (query: string) => any[] | Promise<any[]>;
|
|
19
|
-
render?: () => {
|
|
20
|
-
onStart?: (props: SuggestionProps) => void;
|
|
21
|
-
onUpdate?: (props: SuggestionProps) => void;
|
|
22
|
-
onExit?: (props: SuggestionProps) => void;
|
|
23
|
-
onKeyDown?: (props: SuggestionKeyDownProps) => boolean;
|
|
24
|
-
};
|
|
25
|
-
allow?: (props: {
|
|
26
|
-
editor: Editor;
|
|
27
|
-
range: Range;
|
|
28
|
-
}) => boolean;
|
|
29
|
-
}
|
|
30
|
-
export interface SuggestionProps {
|
|
31
|
-
editor: Editor;
|
|
32
|
-
range: Range;
|
|
33
|
-
query: string;
|
|
34
|
-
text: string;
|
|
35
|
-
items: any[];
|
|
36
|
-
command: (props: any) => void;
|
|
37
|
-
decorationNode: Element | null;
|
|
38
|
-
clientRect: (() => DOMRect) | null;
|
|
39
|
-
}
|
|
40
|
-
export interface SuggestionKeyDownProps {
|
|
41
|
-
view: EditorView;
|
|
42
|
-
event: KeyboardEvent;
|
|
43
|
-
range: Range;
|
|
44
|
-
}
|
|
45
|
-
export declare const SuggestionPluginKey: PluginKey<any, any>;
|
|
46
|
-
export declare function Suggestion({ pluginKey, editor, char, allowSpaces, prefixSpace, startOfLine, decorationTag, decorationClass, command, items, render, allow, }: SuggestionOptions): Plugin<any, any>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import Vue, { Component } from 'vue';
|
|
2
|
-
import { BubbleMenuPluginProps } from '@tiptap/extension-bubble-menu';
|
|
3
|
-
export interface BubbleMenuInterface extends Vue {
|
|
4
|
-
pluginKey: BubbleMenuPluginProps['pluginKey'];
|
|
5
|
-
editor: BubbleMenuPluginProps['editor'];
|
|
6
|
-
tippyOptions: BubbleMenuPluginProps['tippyOptions'];
|
|
7
|
-
shouldShow: BubbleMenuPluginProps['shouldShow'];
|
|
8
|
-
}
|
|
9
|
-
export declare const BubbleMenu: Component;
|