reactjs-tiptap-editor 0.3.30 → 0.3.31
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/lib/{ActionMenuButton-wiDnIxE2.cjs → ActionMenuButton-BCgqJsST.cjs} +1 -1
- package/lib/{ActionMenuButton-B6fitGKu.js → ActionMenuButton-D97K0UWT.js} +5 -5
- package/lib/Attachment.cjs +1 -1
- package/lib/Attachment.d.cts +15 -15
- package/lib/Attachment.d.ts +15 -15
- package/lib/Attachment.js +1 -1
- package/lib/Blockquote.cjs +1 -1
- package/lib/Blockquote.d.cts +15 -15
- package/lib/Blockquote.d.ts +15 -15
- package/lib/Blockquote.js +1 -1
- package/lib/Bold.cjs +1 -1
- package/lib/Bold.d.cts +15 -15
- package/lib/Bold.d.ts +15 -15
- package/lib/Bold.js +1 -1
- package/lib/BulletList.cjs +1 -1
- package/lib/BulletList.d.cts +15 -15
- package/lib/BulletList.d.ts +15 -15
- package/lib/BulletList.js +1 -1
- package/lib/Clear.cjs +1 -1
- package/lib/Clear.d.cts +15 -15
- package/lib/Clear.d.ts +15 -15
- package/lib/Clear.js +1 -1
- package/lib/Code.cjs +1 -1
- package/lib/Code.d.cts +15 -15
- package/lib/Code.d.ts +15 -15
- package/lib/Code.js +1 -1
- package/lib/CodeBlock.cjs +1 -1
- package/lib/CodeBlock.d.cts +15 -15
- package/lib/CodeBlock.d.ts +15 -15
- package/lib/CodeBlock.js +3 -2
- package/lib/CodeView.cjs +1 -1
- package/lib/CodeView.d.cts +15 -15
- package/lib/CodeView.d.ts +15 -15
- package/lib/CodeView.js +1 -1
- package/lib/Color.cjs +1 -1
- package/lib/Color.d.cts +15 -15
- package/lib/Color.d.ts +15 -15
- package/lib/Color.js +2 -2
- package/lib/Document.d.cts +15 -15
- package/lib/Document.d.ts +15 -15
- package/lib/Drawer-5Q_-WRhc.cjs +1 -0
- package/lib/{Drawer-BKTU9CpU.js → Drawer-BHkje8ys.js} +250 -249
- package/lib/Drawer.cjs +1 -1
- package/lib/Drawer.d.cts +15 -15
- package/lib/Drawer.d.ts +15 -15
- package/lib/Drawer.js +2 -2
- package/lib/Emoji.cjs +1 -1
- package/lib/Emoji.d.cts +15 -15
- package/lib/Emoji.d.ts +15 -15
- package/lib/Emoji.js +22 -21
- package/lib/Excalidraw-CG498239.js +290 -0
- package/lib/Excalidraw-GUVW-IqC.cjs +1 -0
- package/lib/Excalidraw.cjs +1 -1
- package/lib/Excalidraw.d.cts +15 -15
- package/lib/Excalidraw.d.ts +15 -15
- package/lib/Excalidraw.js +1 -1
- package/lib/ExportPdf.cjs +1 -1
- package/lib/ExportPdf.d.cts +15 -15
- package/lib/ExportPdf.d.ts +15 -15
- package/lib/ExportPdf.js +1 -1
- package/lib/ExportWord.cjs +1 -1
- package/lib/ExportWord.d.cts +15 -15
- package/lib/ExportWord.d.ts +15 -15
- package/lib/ExportWord.js +1 -1
- package/lib/FontFamily.cjs +1 -1
- package/lib/FontFamily.d.cts +15 -15
- package/lib/FontFamily.d.ts +15 -15
- package/lib/FontFamily.js +11 -10
- package/lib/FontSize.cjs +1 -1
- package/lib/FontSize.d.cts +15 -15
- package/lib/FontSize.d.ts +15 -15
- package/lib/FontSize.js +6 -5
- package/lib/FormatPainter.cjs +1 -1
- package/lib/FormatPainter.d.cts +15 -15
- package/lib/FormatPainter.d.ts +15 -15
- package/lib/FormatPainter.js +1 -1
- package/lib/Heading.cjs +1 -1
- package/lib/Heading.d.cts +15 -15
- package/lib/Heading.d.ts +15 -15
- package/lib/Heading.js +32 -31
- package/lib/Highlight.cjs +1 -1
- package/lib/Highlight.d.cts +15 -15
- package/lib/Highlight.d.ts +15 -15
- package/lib/Highlight.js +1 -1
- package/lib/History.cjs +1 -1
- package/lib/History.d.cts +15 -15
- package/lib/History.d.ts +15 -15
- package/lib/History.js +1 -1
- package/lib/HorizontalRule.cjs +1 -1
- package/lib/HorizontalRule.d.cts +15 -15
- package/lib/HorizontalRule.d.ts +15 -15
- package/lib/HorizontalRule.js +1 -1
- package/lib/Iframe.cjs +1 -1
- package/lib/Iframe.d.cts +15 -15
- package/lib/Iframe.d.ts +15 -15
- package/lib/Iframe.js +1 -1
- package/lib/Image.cjs +1 -1
- package/lib/Image.d.cts +15 -15
- package/lib/Image.d.ts +15 -15
- package/lib/Image.js +1 -1
- package/lib/ImageGif.cjs +1 -1
- package/lib/ImageGif.d.cts +15 -15
- package/lib/ImageGif.d.ts +15 -15
- package/lib/ImageGif.js +1 -1
- package/lib/ImportWord.cjs +2 -2
- package/lib/ImportWord.d.cts +15 -15
- package/lib/ImportWord.d.ts +15 -15
- package/lib/ImportWord.js +3 -2
- package/lib/Indent.cjs +1 -1
- package/lib/Indent.d.cts +15 -15
- package/lib/Indent.d.ts +15 -15
- package/lib/Indent.js +1 -1
- package/lib/Italic.cjs +1 -1
- package/lib/Italic.d.cts +15 -15
- package/lib/Italic.d.ts +15 -15
- package/lib/Italic.js +1 -1
- package/lib/Katex.cjs +1 -1
- package/lib/Katex.d.cts +15 -15
- package/lib/Katex.d.ts +15 -15
- package/lib/Katex.js +41 -40
- package/lib/LineHeight.cjs +1 -1
- package/lib/LineHeight.d.cts +15 -15
- package/lib/LineHeight.d.ts +15 -15
- package/lib/LineHeight.js +17 -16
- package/lib/Link.cjs +1 -1
- package/lib/Link.d.cts +15 -15
- package/lib/Link.d.ts +15 -15
- package/lib/Link.js +1 -1
- package/lib/ListItem.d.cts +15 -15
- package/lib/ListItem.d.ts +15 -15
- package/lib/Mention.d.cts +15 -15
- package/lib/Mention.d.ts +15 -15
- package/lib/Mermaid.cjs +2 -2
- package/lib/Mermaid.d.cts +15 -15
- package/lib/Mermaid.d.ts +15 -15
- package/lib/Mermaid.js +138 -137
- package/lib/MoreMark.cjs +1 -1
- package/lib/MoreMark.d.cts +15 -15
- package/lib/MoreMark.d.ts +15 -15
- package/lib/MoreMark.js +1 -1
- package/lib/MultiColumn.cjs +1 -1
- package/lib/MultiColumn.d.cts +15 -15
- package/lib/MultiColumn.d.ts +15 -15
- package/lib/MultiColumn.js +1 -1
- package/lib/OrderedList.cjs +1 -1
- package/lib/OrderedList.d.cts +15 -15
- package/lib/OrderedList.d.ts +15 -15
- package/lib/OrderedList.js +1 -1
- package/lib/{RichTextEditor-C8Sm1E6J.cjs → RichTextEditor-DWlLqTl9.cjs} +4 -4
- package/lib/{RichTextEditor-BQN2eLD_.js → RichTextEditor-KP2Rgcqe.js} +15 -39
- package/lib/SearchAndReplace.cjs +1 -1
- package/lib/SearchAndReplace.d.cts +15 -15
- package/lib/SearchAndReplace.d.ts +15 -15
- package/lib/SearchAndReplace.js +68 -67
- package/lib/Selection.d.cts +15 -15
- package/lib/Selection.d.ts +15 -15
- package/lib/SlashCommand.cjs +1 -1
- package/lib/SlashCommand.d.cts +15 -15
- package/lib/SlashCommand.d.ts +15 -15
- package/lib/SlashCommand.js +1 -1
- package/lib/Strike.cjs +1 -1
- package/lib/Strike.d.cts +15 -15
- package/lib/Strike.d.ts +15 -15
- package/lib/Strike.js +1 -1
- package/lib/SubAndSuperScript.cjs +1 -1
- package/lib/SubAndSuperScript.d.cts +15 -15
- package/lib/SubAndSuperScript.d.ts +15 -15
- package/lib/SubAndSuperScript.js +1 -1
- package/lib/Table.cjs +1 -1
- package/lib/Table.d.cts +15 -15
- package/lib/Table.d.ts +15 -15
- package/lib/Table.js +2 -1
- package/lib/TableOfContent.cjs +1 -1
- package/lib/TableOfContent.d.cts +15 -15
- package/lib/TableOfContent.d.ts +15 -15
- package/lib/TableOfContent.js +50 -49
- package/lib/TaskList.cjs +1 -1
- package/lib/TaskList.d.cts +15 -15
- package/lib/TaskList.d.ts +15 -15
- package/lib/TaskList.js +1 -1
- package/lib/TextAlign.cjs +1 -1
- package/lib/TextAlign.d.cts +15 -15
- package/lib/TextAlign.d.ts +15 -15
- package/lib/TextAlign.js +8 -7
- package/lib/TextBubble.cjs +1 -1
- package/lib/TextBubble.d.cts +15 -15
- package/lib/TextBubble.d.ts +15 -15
- package/lib/TextBubble.js +1 -1
- package/lib/TextDirection.cjs +1 -1
- package/lib/TextDirection.d.cts +15 -15
- package/lib/TextDirection.d.ts +15 -15
- package/lib/TextDirection.js +14 -13
- package/lib/TextUnderline.cjs +1 -1
- package/lib/TextUnderline.d.cts +15 -15
- package/lib/TextUnderline.d.ts +15 -15
- package/lib/TextUnderline.js +1 -1
- package/lib/TrailingNode.d.cts +15 -15
- package/lib/TrailingNode.d.ts +15 -15
- package/lib/{Twitter-Dg6WWauX.js → Twitter-99ivY5qv.js} +62 -61
- package/lib/{Twitter-CL2pu4QM.cjs → Twitter-BvfvUtNT.cjs} +2 -2
- package/lib/Twitter.cjs +1 -1
- package/lib/Twitter.d.cts +15 -15
- package/lib/Twitter.d.ts +15 -15
- package/lib/Twitter.js +1 -1
- package/lib/Video.cjs +1 -1
- package/lib/Video.d.cts +15 -15
- package/lib/Video.d.ts +15 -15
- package/lib/Video.js +1 -1
- package/lib/bubble-extra.cjs +1 -1
- package/lib/bubble-extra.d.cts +15 -15
- package/lib/bubble-extra.d.ts +15 -15
- package/lib/bubble-extra.js +5 -5
- package/lib/index.cjs +1 -1
- package/lib/index.d.cts +16 -15
- package/lib/index.d.ts +16 -15
- package/lib/index.js +2 -2
- package/lib/locale-bundle.d.cts +15 -15
- package/lib/locale-bundle.d.ts +15 -15
- package/lib/{textarea-BglwYF6b.js → textarea-CktfkXNe.js} +1 -1
- package/lib/{textarea-D5WVZMgt.cjs → textarea-DdH64g04.cjs} +1 -1
- package/package.json +1 -1
- package/lib/Drawer-CmoEF-Zg.cjs +0 -1
- package/lib/Excalidraw-CM74U5tG.js +0 -289
- package/lib/Excalidraw-DAPP9qgY.cjs +0 -1
package/lib/MoreMark.d.cts
CHANGED
|
@@ -198,6 +198,21 @@ declare module '@tiptap/core' {
|
|
|
198
198
|
}
|
|
199
199
|
|
|
200
200
|
|
|
201
|
+
declare module '@tiptap/core' {
|
|
202
|
+
interface Commands<ReturnType> {
|
|
203
|
+
iframe: {
|
|
204
|
+
/**
|
|
205
|
+
* Add an iframe
|
|
206
|
+
*/
|
|
207
|
+
setIframe: (options: {
|
|
208
|
+
src: string;
|
|
209
|
+
service: string;
|
|
210
|
+
}) => ReturnType;
|
|
211
|
+
};
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
|
|
201
216
|
declare module '@tiptap/core' {
|
|
202
217
|
interface Commands<ReturnType> {
|
|
203
218
|
imageUpload: {
|
|
@@ -218,21 +233,6 @@ declare module '@tiptap/core' {
|
|
|
218
233
|
}
|
|
219
234
|
|
|
220
235
|
|
|
221
|
-
declare module '@tiptap/core' {
|
|
222
|
-
interface Commands<ReturnType> {
|
|
223
|
-
iframe: {
|
|
224
|
-
/**
|
|
225
|
-
* Add an iframe
|
|
226
|
-
*/
|
|
227
|
-
setIframe: (options: {
|
|
228
|
-
src: string;
|
|
229
|
-
service: string;
|
|
230
|
-
}) => ReturnType;
|
|
231
|
-
};
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
|
|
236
236
|
declare module '@tiptap/core' {
|
|
237
237
|
interface Commands<ReturnType> {
|
|
238
238
|
imageGifUpload: {
|
package/lib/MoreMark.d.ts
CHANGED
|
@@ -198,6 +198,21 @@ declare module '@tiptap/core' {
|
|
|
198
198
|
}
|
|
199
199
|
|
|
200
200
|
|
|
201
|
+
declare module '@tiptap/core' {
|
|
202
|
+
interface Commands<ReturnType> {
|
|
203
|
+
iframe: {
|
|
204
|
+
/**
|
|
205
|
+
* Add an iframe
|
|
206
|
+
*/
|
|
207
|
+
setIframe: (options: {
|
|
208
|
+
src: string;
|
|
209
|
+
service: string;
|
|
210
|
+
}) => ReturnType;
|
|
211
|
+
};
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
|
|
201
216
|
declare module '@tiptap/core' {
|
|
202
217
|
interface Commands<ReturnType> {
|
|
203
218
|
imageUpload: {
|
|
@@ -218,21 +233,6 @@ declare module '@tiptap/core' {
|
|
|
218
233
|
}
|
|
219
234
|
|
|
220
235
|
|
|
221
|
-
declare module '@tiptap/core' {
|
|
222
|
-
interface Commands<ReturnType> {
|
|
223
|
-
iframe: {
|
|
224
|
-
/**
|
|
225
|
-
* Add an iframe
|
|
226
|
-
*/
|
|
227
|
-
setIframe: (options: {
|
|
228
|
-
src: string;
|
|
229
|
-
service: string;
|
|
230
|
-
}) => ReturnType;
|
|
231
|
-
};
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
|
|
236
236
|
declare module '@tiptap/core' {
|
|
237
237
|
interface Commands<ReturnType> {
|
|
238
238
|
imageGifUpload: {
|
package/lib/MoreMark.js
CHANGED
|
@@ -2,7 +2,7 @@ import { E as m } from "./index-DI9T3iLd.js";
|
|
|
2
2
|
import { S as f, a as b } from "./index-LUL9mqY4.js";
|
|
3
3
|
import { jsxs as h, jsx as s } from "react/jsx-runtime";
|
|
4
4
|
import { useMemo as x } from "react";
|
|
5
|
-
import { D as g, e as M, A as y, M as S, f as k, h as A, k as w, g as v } from "./RichTextEditor-
|
|
5
|
+
import { D as g, e as M, A as y, M as S, f as k, h as A, k as w, g as v } from "./RichTextEditor-KP2Rgcqe.js";
|
|
6
6
|
function K(t) {
|
|
7
7
|
var c;
|
|
8
8
|
const e = x(() => {
|
package/lib/MultiColumn.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("./index-ByRfqzMr.cjs");const o=require("./RichTextEditor-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("./index-ByRfqzMr.cjs");const o=require("./RichTextEditor-DWlLqTl9.cjs");exports.Column=o.Column;exports.ColumnActionButton=o.ColumnActionButton;exports.EXTENSION_PRIORITY_HIGHEST=o.EXTENSION_PRIORITY_HIGHEST;exports.MultiColumn=o.MultiColumn;
|
package/lib/MultiColumn.d.cts
CHANGED
|
@@ -118,6 +118,21 @@ declare module '@tiptap/core' {
|
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
|
|
121
|
+
declare module '@tiptap/core' {
|
|
122
|
+
interface Commands<ReturnType> {
|
|
123
|
+
iframe: {
|
|
124
|
+
/**
|
|
125
|
+
* Add an iframe
|
|
126
|
+
*/
|
|
127
|
+
setIframe: (options: {
|
|
128
|
+
src: string;
|
|
129
|
+
service: string;
|
|
130
|
+
}) => ReturnType;
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
|
|
121
136
|
declare module '@tiptap/core' {
|
|
122
137
|
interface Commands<ReturnType> {
|
|
123
138
|
imageUpload: {
|
|
@@ -138,21 +153,6 @@ declare module '@tiptap/core' {
|
|
|
138
153
|
}
|
|
139
154
|
|
|
140
155
|
|
|
141
|
-
declare module '@tiptap/core' {
|
|
142
|
-
interface Commands<ReturnType> {
|
|
143
|
-
iframe: {
|
|
144
|
-
/**
|
|
145
|
-
* Add an iframe
|
|
146
|
-
*/
|
|
147
|
-
setIframe: (options: {
|
|
148
|
-
src: string;
|
|
149
|
-
service: string;
|
|
150
|
-
}) => ReturnType;
|
|
151
|
-
};
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
|
|
156
156
|
declare module '@tiptap/core' {
|
|
157
157
|
interface Commands<ReturnType> {
|
|
158
158
|
imageGifUpload: {
|
package/lib/MultiColumn.d.ts
CHANGED
|
@@ -118,6 +118,21 @@ declare module '@tiptap/core' {
|
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
|
|
121
|
+
declare module '@tiptap/core' {
|
|
122
|
+
interface Commands<ReturnType> {
|
|
123
|
+
iframe: {
|
|
124
|
+
/**
|
|
125
|
+
* Add an iframe
|
|
126
|
+
*/
|
|
127
|
+
setIframe: (options: {
|
|
128
|
+
src: string;
|
|
129
|
+
service: string;
|
|
130
|
+
}) => ReturnType;
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
|
|
121
136
|
declare module '@tiptap/core' {
|
|
122
137
|
interface Commands<ReturnType> {
|
|
123
138
|
imageUpload: {
|
|
@@ -138,21 +153,6 @@ declare module '@tiptap/core' {
|
|
|
138
153
|
}
|
|
139
154
|
|
|
140
155
|
|
|
141
|
-
declare module '@tiptap/core' {
|
|
142
|
-
interface Commands<ReturnType> {
|
|
143
|
-
iframe: {
|
|
144
|
-
/**
|
|
145
|
-
* Add an iframe
|
|
146
|
-
*/
|
|
147
|
-
setIframe: (options: {
|
|
148
|
-
src: string;
|
|
149
|
-
service: string;
|
|
150
|
-
}) => ReturnType;
|
|
151
|
-
};
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
|
|
156
156
|
declare module '@tiptap/core' {
|
|
157
157
|
interface Commands<ReturnType> {
|
|
158
158
|
imageGifUpload: {
|
package/lib/MultiColumn.js
CHANGED
package/lib/OrderedList.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index-ByRfqzMr.cjs"),a=require("./RichTextEditor-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index-ByRfqzMr.cjs"),a=require("./RichTextEditor-DWlLqTl9.cjs"),d="listItem",r="textStyle",o=/^(\d+)\.\s$/,u=i.Node.create({name:"orderedList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},addAttributes(){return{start:{default:1,parseHTML:t=>t.hasAttribute("start")?parseInt(t.getAttribute("start")||"",10):1},type:{default:null,parseHTML:t=>t.getAttribute("type")}}},parseHTML(){return[{tag:"ol"}]},renderHTML({HTMLAttributes:t}){const{start:e,...s}=t;return e===1?["ol",i.mergeAttributes(this.options.HTMLAttributes,s),0]:["ol",i.mergeAttributes(this.options.HTMLAttributes,t),0]},addCommands(){return{toggleOrderedList:()=>({commands:t,chain:e})=>this.options.keepAttributes?e().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(d,this.editor.getAttributes(r)).run():t.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let t=i.wrappingInputRule({find:o,type:this.type,getAttributes:e=>({start:+e[1]}),joinPredicate:(e,s)=>s.childCount+s.attrs.start===+e[1]});return(this.options.keepMarks||this.options.keepAttributes)&&(t=i.wrappingInputRule({find:o,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:e=>({start:+e[1],...this.editor.getAttributes(r)}),joinPredicate:(e,s)=>s.childCount+s.attrs.start===+e[1],editor:this.editor})),[t]}}),p=u.extend({addOptions(){var t;return{...(t=this.parent)==null?void 0:t.call(this),button:({editor:e,t:s,extension:n})=>({component:a.ActionButton,componentProps:{action:()=>e.commands.toggleOrderedList(),isActive:()=>e.isActive("orderedList")||!1,disabled:!1,icon:"ListOrdered",shortcutKeys:n.options.shortcutKeys??["mod","shift","7"],tooltip:s("editor.orderedlist.tooltip")}})}}});exports.OrderedList=p;
|
package/lib/OrderedList.d.cts
CHANGED
|
@@ -186,6 +186,21 @@ declare module '@tiptap/core' {
|
|
|
186
186
|
}
|
|
187
187
|
|
|
188
188
|
|
|
189
|
+
declare module '@tiptap/core' {
|
|
190
|
+
interface Commands<ReturnType> {
|
|
191
|
+
iframe: {
|
|
192
|
+
/**
|
|
193
|
+
* Add an iframe
|
|
194
|
+
*/
|
|
195
|
+
setIframe: (options: {
|
|
196
|
+
src: string;
|
|
197
|
+
service: string;
|
|
198
|
+
}) => ReturnType;
|
|
199
|
+
};
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
|
|
189
204
|
declare module '@tiptap/core' {
|
|
190
205
|
interface Commands<ReturnType> {
|
|
191
206
|
imageUpload: {
|
|
@@ -206,21 +221,6 @@ declare module '@tiptap/core' {
|
|
|
206
221
|
}
|
|
207
222
|
|
|
208
223
|
|
|
209
|
-
declare module '@tiptap/core' {
|
|
210
|
-
interface Commands<ReturnType> {
|
|
211
|
-
iframe: {
|
|
212
|
-
/**
|
|
213
|
-
* Add an iframe
|
|
214
|
-
*/
|
|
215
|
-
setIframe: (options: {
|
|
216
|
-
src: string;
|
|
217
|
-
service: string;
|
|
218
|
-
}) => ReturnType;
|
|
219
|
-
};
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
|
|
224
224
|
declare module '@tiptap/core' {
|
|
225
225
|
interface Commands<ReturnType> {
|
|
226
226
|
imageGifUpload: {
|
package/lib/OrderedList.d.ts
CHANGED
|
@@ -186,6 +186,21 @@ declare module '@tiptap/core' {
|
|
|
186
186
|
}
|
|
187
187
|
|
|
188
188
|
|
|
189
|
+
declare module '@tiptap/core' {
|
|
190
|
+
interface Commands<ReturnType> {
|
|
191
|
+
iframe: {
|
|
192
|
+
/**
|
|
193
|
+
* Add an iframe
|
|
194
|
+
*/
|
|
195
|
+
setIframe: (options: {
|
|
196
|
+
src: string;
|
|
197
|
+
service: string;
|
|
198
|
+
}) => ReturnType;
|
|
199
|
+
};
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
|
|
189
204
|
declare module '@tiptap/core' {
|
|
190
205
|
interface Commands<ReturnType> {
|
|
191
206
|
imageUpload: {
|
|
@@ -206,21 +221,6 @@ declare module '@tiptap/core' {
|
|
|
206
221
|
}
|
|
207
222
|
|
|
208
223
|
|
|
209
|
-
declare module '@tiptap/core' {
|
|
210
|
-
interface Commands<ReturnType> {
|
|
211
|
-
iframe: {
|
|
212
|
-
/**
|
|
213
|
-
* Add an iframe
|
|
214
|
-
*/
|
|
215
|
-
setIframe: (options: {
|
|
216
|
-
src: string;
|
|
217
|
-
service: string;
|
|
218
|
-
}) => ReturnType;
|
|
219
|
-
};
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
|
|
224
224
|
declare module '@tiptap/core' {
|
|
225
225
|
interface Commands<ReturnType> {
|
|
226
226
|
imageGifUpload: {
|
package/lib/OrderedList.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { N as p, w as i, m as r } from "./index-DI9T3iLd.js";
|
|
2
|
-
import { A as d } from "./RichTextEditor-
|
|
2
|
+
import { A as d } from "./RichTextEditor-KP2Rgcqe.js";
|
|
3
3
|
const u = "listItem", o = "textStyle", n = /^(\d+)\.\s$/, l = p.create({
|
|
4
4
|
name: "orderedList",
|
|
5
5
|
addOptions() {
|