reactjs-tiptap-editor 0.1.14 → 0.1.15
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/RichTextEditor-BFCJg7ap.cjs +138 -0
- package/lib/RichTextEditor-CqUsKvdf.js +4887 -0
- package/lib/extension-bundle.cjs +15 -0
- package/lib/extension-bundle.d.cts +919 -0
- package/lib/extension-bundle.d.ts +919 -0
- package/lib/extension-bundle.js +8501 -0
- package/lib/{locales--osbCzs-.js → index-BQSRMhtZ.js} +229 -181
- package/lib/index-CHZh3C0I.cjs +1 -0
- package/lib/index.cjs +1 -1
- package/lib/index.d.cts +45 -1583
- package/lib/index.d.ts +45 -1583
- package/lib/index.js +12 -67
- package/lib/locale-bundle.cjs +1 -0
- package/lib/locale-bundle.d.cts +1145 -0
- package/lib/locale-bundle.d.ts +1145 -0
- package/lib/locale-bundle.js +9 -0
- package/lib/style.css +1 -1
- package/lib/{tiptap-CibBmg3k.js → tiptap-CB5MO02_.js} +1453 -1401
- package/lib/tiptap-DkTOfBkj.cjs +116 -0
- package/lib/vendor-BH8HYOJ4.cjs +354 -0
- package/lib/{vendor-CDx3V-R7.js → vendor-DiKgVtSS.js} +23737 -23443
- package/package.json +95 -82
- package/lib/bundle-full.cjs +0 -650
- package/lib/bundle-full.js +0 -82900
- package/lib/locales-DNzXvsXe.cjs +0 -1
- package/lib/tiptap-BWShr3Ps.cjs +0 -116
- package/lib/utils-CpXb61kA.cjs +0 -152
- package/lib/utils-DvW-fR8u.js +0 -13374
- package/lib/vendor-DhcRzB9P.cjs +0 -354
package/lib/index.js
CHANGED
|
@@ -1,71 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { B as Ba } from "./tiptap-CibBmg3k.js";
|
|
1
|
+
import { useRef as d, useState as o, useEffect as f } from "react";
|
|
2
|
+
import { R as m } from "./RichTextEditor-CqUsKvdf.js";
|
|
3
|
+
import { B as x } from "./tiptap-CB5MO02_.js";
|
|
5
4
|
function c() {
|
|
6
|
-
var
|
|
7
|
-
const
|
|
8
|
-
return
|
|
9
|
-
var
|
|
10
|
-
(
|
|
11
|
-
}, [
|
|
5
|
+
var t;
|
|
6
|
+
const e = d({ editor: null }), [u, s] = o(!1), [i, n] = o(null);
|
|
7
|
+
return f(() => {
|
|
8
|
+
var r;
|
|
9
|
+
(r = e.current) != null && r.editor && (s(!0), n(e.current.editor));
|
|
10
|
+
}, [e, (t = e.current) == null ? void 0 : t.editor]), { isReady: u, editor: i, editorRef: e };
|
|
12
11
|
}
|
|
13
12
|
export {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
B as Bold,
|
|
18
|
-
Ba as BubbleMenu,
|
|
19
|
-
S as BulletList,
|
|
20
|
-
h as Clear,
|
|
21
|
-
g as Code,
|
|
22
|
-
k as CodeBlock,
|
|
23
|
-
E as Color,
|
|
24
|
-
I as Column,
|
|
25
|
-
R as ColumnActionButton,
|
|
26
|
-
H as Emoji,
|
|
27
|
-
M as Excalidraw,
|
|
28
|
-
T as ExportPdf,
|
|
29
|
-
b as ExportWord,
|
|
30
|
-
A as FontFamily,
|
|
31
|
-
L as FontSize,
|
|
32
|
-
y as FormatPainter,
|
|
33
|
-
z as Heading,
|
|
34
|
-
F as Highlight,
|
|
35
|
-
v as History,
|
|
36
|
-
w as HorizontalRule,
|
|
37
|
-
K as Iframe,
|
|
38
|
-
O as Image,
|
|
39
|
-
P as ImageGif,
|
|
40
|
-
U as ImportWord,
|
|
41
|
-
W as Indent,
|
|
42
|
-
_ as Italic,
|
|
43
|
-
j as Katex,
|
|
44
|
-
q as LineHeight,
|
|
45
|
-
D as Link,
|
|
46
|
-
G as Mention,
|
|
47
|
-
N as Mermaid,
|
|
48
|
-
V as MoreMark,
|
|
49
|
-
J as MultiColumn,
|
|
50
|
-
Q as OrderedList,
|
|
51
|
-
X as SearchAndReplace,
|
|
52
|
-
Y as SlashCommand,
|
|
53
|
-
Z as Strike,
|
|
54
|
-
$ as SubAndSuperScript,
|
|
55
|
-
aa as Table,
|
|
56
|
-
sa as TableOfContents,
|
|
57
|
-
ea as TaskList,
|
|
58
|
-
ta as TextAlign,
|
|
59
|
-
oa as TextDirection,
|
|
60
|
-
ra as Twitter,
|
|
61
|
-
ia as Underline,
|
|
62
|
-
na as Video,
|
|
63
|
-
la as default,
|
|
64
|
-
ua as en,
|
|
65
|
-
ca as hu_HU,
|
|
66
|
-
ma as locale,
|
|
67
|
-
fa as pt_BR,
|
|
68
|
-
c as useEditorState,
|
|
69
|
-
pa as vi,
|
|
70
|
-
xa as zh_CN
|
|
13
|
+
x as BubbleMenu,
|
|
14
|
+
m as default,
|
|
15
|
+
c as useEditorState
|
|
71
16
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CHZh3C0I.cjs");exports.en=e.locale$1;exports.hu_HU=e.locale$2;exports.locale=e.locale;exports.pt_BR=e.locale$5;exports.vi=e.locale$3;exports.zh_CN=e.locale$4;
|