reactjs-tiptap-editor 0.1.11 → 0.1.13
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/bundle-full.cjs +420 -0
- package/lib/bundle-full.js +66325 -0
- package/lib/{reactjs-tiptap-editor.cjs → index.cjs} +1 -1
- package/lib/index.d.cts +69 -69
- package/lib/index.d.ts +69 -69
- package/lib/{reactjs-tiptap-editor.js → index.js} +3 -3
- package/lib/locales-73BBGzRr.cjs +1 -0
- package/lib/{locales-CAZfnzv4.js → locales-CjqAVVw_.js} +16 -18
- package/lib/style.css +1 -1
- package/lib/{tiptap-BSVYcz58.js → tiptap-8FnNtpP6.js} +1 -1
- package/lib/{tiptap-z5OraroY.cjs → tiptap-DRaCr6Fj.cjs} +1 -1
- package/lib/{utils-B0SMxWW-.js → utils-DJ3-4GXI.js} +93 -102
- package/lib/utils-zAUcy3gG.cjs +152 -0
- package/lib/{vendor-BmwuOKTu.cjs → vendor-Dy6OEB8l.cjs} +41 -41
- package/lib/{vendor-C2GXVsjz.js → vendor-ehTKF-_z.js} +3866 -3607
- package/package.json +32 -8
- package/lib/locales-CO2wcFqJ.cjs +0 -1
- package/lib/utils-BG7adOxz.cjs +0 -152
|
@@ -6,16 +6,15 @@ import * as V from "react";
|
|
|
6
6
|
import Fe, { useState as w, useRef as J, useEffect as H, useCallback as T, useMemo as P, Fragment as dt, forwardRef as Lt, useImperativeHandle as St } from "react";
|
|
7
7
|
import "@radix-ui/react-toast";
|
|
8
8
|
import { ChevronRight as nr, Check as ai, Circle as rr, ChevronDown as Mt, ChevronUp as tn, HelpCircle as nn, Pencil as rn, Trash2 as an, X as ar, Plus as on, Bold as or, LoaderCircle as cr, Italic as sr, Underline as lr, Quote as dr, Strikethrough as hr, Minus as ur, Eraser as mr, PaintRoller as fr, Redo2 as gr, Undo2 as xr, Subscript as br, Superscript as pr, Code as wr, CodeXml as _r, Type as vr, IndentIncrease as yr, IndentDecrease as kr, List as Cr, ListOrdered as Nr, ListTodo as Tr, Link as Ar, ImageUp as Lr, Video as Sr, Maximize as Mr, Minimize as Ir, Table as zr, Sparkles as Er, Unlink as Hr, BetweenHorizonalEnd as Rr, BetweenHorizonalStart as Or, BetweenVerticalStart as Pr, BetweenVerticalEnd as Dr, TableCellsMerge as Br, TableCellsSplit as $r, Trash as Vr, Replace as Li, ChevronsUpDown as jr, Heading1 as Fr, Heading2 as Ur, Heading3 as Wr, Heading4 as qr, Heading5 as Gr, Heading6 as Kr, Columns2 as Si, Columns3 as Xr, Columns4 as Zr, GripVertical as Yr, Copy as cn, Clipboard as Jr, PanelLeft as Qr, PanelRight as ea, Frame as ta, SmilePlus as ia, SmilePlusIcon as na, Sigma as ra, BookMarked as aa, ZoomIn as oa, ZoomOut as ca, Settings as sa, Eye as la, Paperclip as da, CropIcon as ha, FlipVertical as ua, FlipHorizontal as ma, CopyCheck as fa, Clock3 as ga, Laugh as xa, LucideAudioLines as ba, LucideVideo as pa, LucideFile as wa, LucideImage as _a, LucideSheet as va, LucideTableProperties as ya } from "lucide-react";
|
|
9
|
-
import { B as ce, N as ae, a as ue, m as ne, R as ge, n as oi, b as ka, u as Ca, E as Na, i as Ta, D as Aa, d as La, c as Sa, e as Ma, I as Ia, U as za, S as Ea, C as Ha, f as ct, g as Ra, h as Oa, F as Pa, H as Da, T as Ba, j as Y, k as $a, l as Va, o as ja, O as Fa, p as Ua, q as Wa, r as qa, L as Ga, s as Ka, t as Xa, v as Za, w as Ya, x as Ct, P as Ja, y as Qa, z as eo, G as to, A as io, J as no, K as ro, M as ao, Q as oo, V as co, W as sn, X as ln, Y as dn, Z as ci, _ as si, $ as so, a0 as lo, a1 as ho, a2 as uo, a3 as mo, a4 as Mi } from "./tiptap-
|
|
10
|
-
import {
|
|
9
|
+
import { B as ce, N as ae, a as ue, m as ne, R as ge, n as oi, b as ka, u as Ca, E as Na, i as Ta, D as Aa, d as La, c as Sa, e as Ma, I as Ia, U as za, S as Ea, C as Ha, f as ct, g as Ra, h as Oa, F as Pa, H as Da, T as Ba, j as Y, k as $a, l as Va, o as ja, O as Fa, p as Ua, q as Wa, r as qa, L as Ga, s as Ka, t as Xa, v as Za, w as Ya, x as Ct, P as Ja, y as Qa, z as eo, G as to, A as io, J as no, K as ro, M as ao, Q as oo, V as co, W as sn, X as ln, Y as dn, Z as ci, _ as si, $ as so, a0 as lo, a1 as ho, a2 as uo, a3 as mo, a4 as Mi } from "./tiptap-8FnNtpP6.js";
|
|
10
|
+
import { ao as fo, ap as ee, aq as li, ar as di, as as go, g as It, at as zt, au as hn, av as xo, aw as Se, e as Et, d as Me, ax as un, ay as hi, az as bo, P as we, a as _e, a4 as Ue, a5 as qe, L as po, aA as Nt, aB as mn, al as wo, aC as _o } from "./vendor-ehTKF-_z.js";
|
|
11
11
|
import { bundledThemes as fn, bundledLanguages as gn, createHighlighter as vo } from "shiki";
|
|
12
|
-
import { u as B, C as yo, E as ko, l as F, B as Co, I as Tt, V as Gt, M as No, D as xn, a as To, b as Ao, c as Ii, d as bn, e as Lo, f as Ge, g as Ke, h as ui, T as xt, i as bt, j as pt } from "./locales-
|
|
12
|
+
import { u as B, C as yo, E as ko, l as F, B as Co, I as Tt, V as Gt, M as No, D as xn, a as To, b as Ao, c as Ii, d as bn, e as Lo, f as Ge, g as Ke, h as ui, T as xt, i as bt, j as pt } from "./locales-CjqAVVw_.js";
|
|
13
13
|
import * as Z from "@radix-ui/react-select";
|
|
14
14
|
import { Slot as mi } from "@radix-ui/react-slot";
|
|
15
15
|
import fi, { sticky as So } from "tippy.js";
|
|
16
16
|
import { flushSync as Xe } from "react-dom";
|
|
17
17
|
import Mo from "react-image-crop";
|
|
18
|
-
import { proxy as zt, useSnapshot as Et } from "valtio";
|
|
19
18
|
import * as Kt from "@radix-ui/react-checkbox";
|
|
20
19
|
import gi from "scroll-into-view-if-needed";
|
|
21
20
|
import * as Ie from "@radix-ui/react-tabs";
|
|
@@ -1261,15 +1260,13 @@ const Cc = "_wrap_5y04w_1", Nc = "_handlerWrap_5y04w_11", Tc = "_innerWrap_5y04w
|
|
|
1261
1260
|
handlerWrap: Nc,
|
|
1262
1261
|
innerWrap: Tc,
|
|
1263
1262
|
emptyWrap: Ac
|
|
1264
|
-
}, En =
|
|
1265
|
-
disable: !1
|
|
1266
|
-
});
|
|
1263
|
+
}, En = It(!1);
|
|
1267
1264
|
function Dt() {
|
|
1268
|
-
return
|
|
1265
|
+
return zt(En);
|
|
1269
1266
|
}
|
|
1270
1267
|
const Lc = {
|
|
1271
1268
|
setDisable: (e) => {
|
|
1272
|
-
En.
|
|
1269
|
+
En.set(e);
|
|
1273
1270
|
}
|
|
1274
1271
|
};
|
|
1275
1272
|
function Sc({ editor: e, node: t, updateAttributes: i }) {
|
|
@@ -2234,15 +2231,13 @@ video {
|
|
|
2234
2231
|
height: auto
|
|
2235
2232
|
}
|
|
2236
2233
|
}
|
|
2237
|
-
`, Dn =
|
|
2238
|
-
theme: "light"
|
|
2239
|
-
});
|
|
2234
|
+
`, Dn = It("light");
|
|
2240
2235
|
function Xc() {
|
|
2241
|
-
return
|
|
2236
|
+
return zt(Dn);
|
|
2242
2237
|
}
|
|
2243
2238
|
const Zc = {
|
|
2244
2239
|
setTheme: (e) => {
|
|
2245
|
-
Dn.
|
|
2240
|
+
Dn.set(e);
|
|
2246
2241
|
}
|
|
2247
2242
|
}, Vi = "data-rc-order", ji = "data-rc-priority", Yc = "rc-util-key", ii = /* @__PURE__ */ new Map();
|
|
2248
2243
|
function Jc(e, t) {
|
|
@@ -2377,7 +2372,7 @@ function rs(e, t) {
|
|
|
2377
2372
|
!(e != null && e.hideBubble) && /* @__PURE__ */ r(qc, { bubbleMenu: e == null ? void 0 : e.bubbleMenu, editor: s, disabled: e == null ? void 0 : e.disabled })
|
|
2378
2373
|
] }) }) }) }) : /* @__PURE__ */ r(W, {});
|
|
2379
2374
|
}
|
|
2380
|
-
const
|
|
2375
|
+
const tu = Lt(rs);
|
|
2381
2376
|
function as({ editor: e, disabled: t }) {
|
|
2382
2377
|
const { t: i, lang: n } = B(), a = P(() => {
|
|
2383
2378
|
const c = [...e.extensionManager.extensions].sort((l, d) => {
|
|
@@ -2925,7 +2920,7 @@ function Is(e) {
|
|
|
2925
2920
|
icon: "Trash2",
|
|
2926
2921
|
action: () => {
|
|
2927
2922
|
const { state: t, dispatch: i } = e.view;
|
|
2928
|
-
|
|
2923
|
+
Et(t, i);
|
|
2929
2924
|
}
|
|
2930
2925
|
}
|
|
2931
2926
|
}
|
|
@@ -2944,7 +2939,7 @@ function zs(e) {
|
|
|
2944
2939
|
icon: "Trash2",
|
|
2945
2940
|
action: () => {
|
|
2946
2941
|
const { state: t, dispatch: i } = e.view;
|
|
2947
|
-
|
|
2942
|
+
Et(t, i);
|
|
2948
2943
|
}
|
|
2949
2944
|
}
|
|
2950
2945
|
}
|
|
@@ -2973,7 +2968,7 @@ function Es(e) {
|
|
|
2973
2968
|
icon: "Trash2",
|
|
2974
2969
|
action: () => {
|
|
2975
2970
|
const { state: t, dispatch: i } = e.view;
|
|
2976
|
-
|
|
2971
|
+
Et(t, i);
|
|
2977
2972
|
}
|
|
2978
2973
|
}
|
|
2979
2974
|
}
|
|
@@ -2991,7 +2986,7 @@ function Hs(e) {
|
|
|
2991
2986
|
icon: "Trash2",
|
|
2992
2987
|
action: () => {
|
|
2993
2988
|
const { state: t, dispatch: i } = e.view;
|
|
2994
|
-
|
|
2989
|
+
Et(t, i);
|
|
2995
2990
|
}
|
|
2996
2991
|
}
|
|
2997
2992
|
}
|
|
@@ -3876,7 +3871,7 @@ function Js({ editor: e }) {
|
|
|
3876
3871
|
}
|
|
3877
3872
|
);
|
|
3878
3873
|
}
|
|
3879
|
-
const
|
|
3874
|
+
const iu = Ma.extend({
|
|
3880
3875
|
addOptions() {
|
|
3881
3876
|
var e;
|
|
3882
3877
|
return {
|
|
@@ -3894,7 +3889,7 @@ const nu = Ma.extend({
|
|
|
3894
3889
|
})
|
|
3895
3890
|
};
|
|
3896
3891
|
}
|
|
3897
|
-
}),
|
|
3892
|
+
}), nu = Ia.extend({
|
|
3898
3893
|
addOptions() {
|
|
3899
3894
|
var e;
|
|
3900
3895
|
return {
|
|
@@ -3914,7 +3909,7 @@ const nu = Ma.extend({
|
|
|
3914
3909
|
}
|
|
3915
3910
|
};
|
|
3916
3911
|
}
|
|
3917
|
-
}),
|
|
3912
|
+
}), ru = za.extend({
|
|
3918
3913
|
addOptions() {
|
|
3919
3914
|
var e;
|
|
3920
3915
|
return {
|
|
@@ -3934,7 +3929,7 @@ const nu = Ma.extend({
|
|
|
3934
3929
|
}
|
|
3935
3930
|
};
|
|
3936
3931
|
}
|
|
3937
|
-
}),
|
|
3932
|
+
}), au = Ea.extend({
|
|
3938
3933
|
addOptions() {
|
|
3939
3934
|
var e;
|
|
3940
3935
|
return {
|
|
@@ -3952,7 +3947,7 @@ const nu = Ma.extend({
|
|
|
3952
3947
|
})
|
|
3953
3948
|
};
|
|
3954
3949
|
}
|
|
3955
|
-
}),
|
|
3950
|
+
}), ou = Ha.extend({
|
|
3956
3951
|
addOptions() {
|
|
3957
3952
|
var e;
|
|
3958
3953
|
return {
|
|
@@ -4288,7 +4283,7 @@ function gl(e) {
|
|
|
4288
4283
|
}) })
|
|
4289
4284
|
] });
|
|
4290
4285
|
}
|
|
4291
|
-
const
|
|
4286
|
+
const cu = Pa.extend({
|
|
4292
4287
|
addOptions() {
|
|
4293
4288
|
var e;
|
|
4294
4289
|
return {
|
|
@@ -4370,7 +4365,7 @@ function xl(e) {
|
|
|
4370
4365
|
}) })
|
|
4371
4366
|
] });
|
|
4372
4367
|
}
|
|
4373
|
-
const
|
|
4368
|
+
const su = Da.extend({
|
|
4374
4369
|
addOptions() {
|
|
4375
4370
|
var e;
|
|
4376
4371
|
return {
|
|
@@ -4465,7 +4460,7 @@ function bl(e) {
|
|
|
4465
4460
|
)
|
|
4466
4461
|
] });
|
|
4467
4462
|
}
|
|
4468
|
-
const
|
|
4463
|
+
const lu = Ba.extend({
|
|
4469
4464
|
addOptions() {
|
|
4470
4465
|
var e;
|
|
4471
4466
|
return {
|
|
@@ -4544,7 +4539,7 @@ function pl(e) {
|
|
|
4544
4539
|
)) })
|
|
4545
4540
|
] });
|
|
4546
4541
|
}
|
|
4547
|
-
const
|
|
4542
|
+
const du = Y.create({
|
|
4548
4543
|
name: "fontSize",
|
|
4549
4544
|
addOptions() {
|
|
4550
4545
|
var e;
|
|
@@ -4680,7 +4675,7 @@ function _l(e) {
|
|
|
4680
4675
|
)
|
|
4681
4676
|
] });
|
|
4682
4677
|
}
|
|
4683
|
-
const
|
|
4678
|
+
const hu = $a.extend({
|
|
4684
4679
|
addOptions() {
|
|
4685
4680
|
var e;
|
|
4686
4681
|
return {
|
|
@@ -4706,7 +4701,7 @@ const uu = $a.extend({
|
|
|
4706
4701
|
}
|
|
4707
4702
|
};
|
|
4708
4703
|
}
|
|
4709
|
-
}),
|
|
4704
|
+
}), uu = Va.extend({
|
|
4710
4705
|
addOptions() {
|
|
4711
4706
|
var e;
|
|
4712
4707
|
return {
|
|
@@ -4727,7 +4722,7 @@ const uu = $a.extend({
|
|
|
4727
4722
|
})
|
|
4728
4723
|
};
|
|
4729
4724
|
}
|
|
4730
|
-
}),
|
|
4725
|
+
}), mu = ja.extend({
|
|
4731
4726
|
addOptions() {
|
|
4732
4727
|
var e;
|
|
4733
4728
|
return {
|
|
@@ -4745,7 +4740,7 @@ const uu = $a.extend({
|
|
|
4745
4740
|
})
|
|
4746
4741
|
};
|
|
4747
4742
|
}
|
|
4748
|
-
}),
|
|
4743
|
+
}), fu = ue.create({
|
|
4749
4744
|
name: "clear",
|
|
4750
4745
|
addOptions() {
|
|
4751
4746
|
var e;
|
|
@@ -4762,7 +4757,7 @@ const uu = $a.extend({
|
|
|
4762
4757
|
})
|
|
4763
4758
|
};
|
|
4764
4759
|
}
|
|
4765
|
-
}),
|
|
4760
|
+
}), gu = Fa.extend({
|
|
4766
4761
|
addOptions() {
|
|
4767
4762
|
var e;
|
|
4768
4763
|
return {
|
|
@@ -4780,7 +4775,7 @@ const uu = $a.extend({
|
|
|
4780
4775
|
})
|
|
4781
4776
|
};
|
|
4782
4777
|
}
|
|
4783
|
-
}),
|
|
4778
|
+
}), xu = Ua.extend({
|
|
4784
4779
|
addOptions() {
|
|
4785
4780
|
var e;
|
|
4786
4781
|
return {
|
|
@@ -4809,7 +4804,7 @@ const uu = $a.extend({
|
|
|
4809
4804
|
addExtensions() {
|
|
4810
4805
|
return [Wa.configure(this.options.taskItem)];
|
|
4811
4806
|
}
|
|
4812
|
-
}),
|
|
4807
|
+
}), bu = qa.extend({
|
|
4813
4808
|
addOptions() {
|
|
4814
4809
|
var e;
|
|
4815
4810
|
return {
|
|
@@ -4849,7 +4844,7 @@ function vl(e) {
|
|
|
4849
4844
|
/* @__PURE__ */ r(re, { hideWhenDetached: !0, className: "richtext-w-full", align: "start", side: "bottom", children: /* @__PURE__ */ r(Gn, { editor: e.editor, onSetLink: n }) })
|
|
4850
4845
|
] });
|
|
4851
4846
|
}
|
|
4852
|
-
const
|
|
4847
|
+
const pu = Ga.extend({
|
|
4853
4848
|
inclusive: !1,
|
|
4854
4849
|
parseHTML() {
|
|
4855
4850
|
return [
|
|
@@ -4916,7 +4911,7 @@ const wu = Ga.extend({
|
|
|
4916
4911
|
})
|
|
4917
4912
|
];
|
|
4918
4913
|
}
|
|
4919
|
-
}),
|
|
4914
|
+
}), wu = Xa.extend({
|
|
4920
4915
|
renderHTML() {
|
|
4921
4916
|
return [
|
|
4922
4917
|
"div",
|
|
@@ -4984,7 +4979,7 @@ function yl(e) {
|
|
|
4984
4979
|
] }) })
|
|
4985
4980
|
] });
|
|
4986
4981
|
}
|
|
4987
|
-
const kl = ["undo", "redo"],
|
|
4982
|
+
const kl = ["undo", "redo"], _u = Za.extend({
|
|
4988
4983
|
addOptions() {
|
|
4989
4984
|
var e;
|
|
4990
4985
|
return {
|
|
@@ -5171,7 +5166,7 @@ const Ll = 200, lt = ue.create({
|
|
|
5171
5166
|
renderHTML({ HTMLAttributes: e }) {
|
|
5172
5167
|
return ["div", ne(this.options.HTMLAttributes, e), 0];
|
|
5173
5168
|
}
|
|
5174
|
-
}),
|
|
5169
|
+
}), vu = Y.create({
|
|
5175
5170
|
name: "columnActionButton",
|
|
5176
5171
|
addOptions() {
|
|
5177
5172
|
var e;
|
|
@@ -5357,7 +5352,7 @@ const zl = Y.create({
|
|
|
5357
5352
|
})
|
|
5358
5353
|
];
|
|
5359
5354
|
}
|
|
5360
|
-
}),
|
|
5355
|
+
}), yu = Y.create({
|
|
5361
5356
|
name: "base-kit",
|
|
5362
5357
|
addExtensions() {
|
|
5363
5358
|
const e = [];
|
|
@@ -5382,7 +5377,7 @@ const zl = Y.create({
|
|
|
5382
5377
|
})
|
|
5383
5378
|
), this.options.characterCount !== !1 && e.push(no.configure(this.options.characterCount)), this.options.paragraph !== !1 && e.push(ro.configure(this.options.paragraph)), this.options.hardBreak !== !1 && e.push(ao.configure(this.options.hardBreak)), this.options.listItem !== !1 && e.push(oo.configure(this.options.listItem)), this.options.textStyle !== !1 && e.push(co.configure(this.options.textStyle)), this.options.trailingNode !== !1 && e.push(zl.configure(this.options.trailingNode)), this.options.selection !== !1 && e.push(Sl), this.options.multiColumn !== !1 && (e.push(Ni), e.push(lt)), e;
|
|
5384
5379
|
}
|
|
5385
|
-
}),
|
|
5380
|
+
}), ku = Y.create({
|
|
5386
5381
|
name: "subAndSuperScript",
|
|
5387
5382
|
addOptions() {
|
|
5388
5383
|
var e;
|
|
@@ -5458,7 +5453,7 @@ function El(e) {
|
|
|
5458
5453
|
)) })
|
|
5459
5454
|
] });
|
|
5460
5455
|
}
|
|
5461
|
-
const
|
|
5456
|
+
const Cu = Y.create({
|
|
5462
5457
|
name: "moreMark",
|
|
5463
5458
|
addOptions() {
|
|
5464
5459
|
var e;
|
|
@@ -5496,7 +5491,7 @@ const Nu = Y.create({
|
|
|
5496
5491
|
const e = [];
|
|
5497
5492
|
return this.options.subscript !== !1 && e.push(sn.configure(this.options.subscript)), this.options.superscript !== !1 && e.push(ln.configure(this.options.superscript)), e;
|
|
5498
5493
|
}
|
|
5499
|
-
}),
|
|
5494
|
+
}), Nu = Y.create({
|
|
5500
5495
|
name: "indent",
|
|
5501
5496
|
addOptions() {
|
|
5502
5497
|
var e;
|
|
@@ -5643,7 +5638,7 @@ function Dl(e) {
|
|
|
5643
5638
|
return a = a.setSelection(n), a = Pl(a, e), a.docChanged ? (i && i(a), !0) : !1;
|
|
5644
5639
|
};
|
|
5645
5640
|
}
|
|
5646
|
-
const
|
|
5641
|
+
const Tu = Y.create({
|
|
5647
5642
|
name: "lineHeight",
|
|
5648
5643
|
addOptions() {
|
|
5649
5644
|
var e;
|
|
@@ -5683,25 +5678,21 @@ const Au = Y.create({
|
|
|
5683
5678
|
unsetLineHeight: () => ({ commands: e }) => this.options.types.every((t) => e.resetAttributes(t, "lineHeight"))
|
|
5684
5679
|
};
|
|
5685
5680
|
}
|
|
5686
|
-
}), Zn =
|
|
5687
|
-
isOpen: !1
|
|
5688
|
-
});
|
|
5681
|
+
}), Zn = It(!1);
|
|
5689
5682
|
function Bl() {
|
|
5690
|
-
return
|
|
5683
|
+
return zt(Zn);
|
|
5691
5684
|
}
|
|
5692
5685
|
const Ve = {
|
|
5693
5686
|
setOpen: (e) => {
|
|
5694
|
-
Zn.
|
|
5687
|
+
Zn.set(e);
|
|
5695
5688
|
}
|
|
5696
|
-
}, Yn =
|
|
5697
|
-
isOpen: !1
|
|
5698
|
-
});
|
|
5689
|
+
}, Yn = It(!1);
|
|
5699
5690
|
function $l() {
|
|
5700
|
-
return
|
|
5691
|
+
return zt(Yn);
|
|
5701
5692
|
}
|
|
5702
5693
|
const ot = {
|
|
5703
5694
|
setOpen: (e) => {
|
|
5704
|
-
Yn.
|
|
5695
|
+
Yn.set(e);
|
|
5705
5696
|
}
|
|
5706
5697
|
};
|
|
5707
5698
|
function Vl(e) {
|
|
@@ -5896,7 +5887,7 @@ function jl(e, t) {
|
|
|
5896
5887
|
}
|
|
5897
5888
|
const Fl = Lt(jl), Ae = "slashCommand";
|
|
5898
5889
|
let q;
|
|
5899
|
-
const
|
|
5890
|
+
const Au = Y.create({
|
|
5900
5891
|
name: Ae,
|
|
5901
5892
|
priority: 200,
|
|
5902
5893
|
onCreate() {
|
|
@@ -6337,7 +6328,7 @@ function ql(e) {
|
|
|
6337
6328
|
var g;
|
|
6338
6329
|
u.preventDefault(), (g = o.current) == null || g.click();
|
|
6339
6330
|
}
|
|
6340
|
-
return /* @__PURE__ */ m(He, { open: i
|
|
6331
|
+
return /* @__PURE__ */ m(He, { open: i, onOpenChange: Ve.setOpen, children: [
|
|
6341
6332
|
/* @__PURE__ */ r(Re, { asChild: !0, children: /* @__PURE__ */ r(
|
|
6342
6333
|
p,
|
|
6343
6334
|
{
|
|
@@ -6711,7 +6702,7 @@ function id(e) {
|
|
|
6711
6702
|
var g;
|
|
6712
6703
|
u.preventDefault(), (g = a.current) == null || g.click();
|
|
6713
6704
|
}
|
|
6714
|
-
return /* @__PURE__ */ m(He, { open: o
|
|
6705
|
+
return /* @__PURE__ */ m(He, { open: o, onOpenChange: ot.setOpen, children: [
|
|
6715
6706
|
/* @__PURE__ */ r(Re, { asChild: !0, children: /* @__PURE__ */ r(
|
|
6716
6707
|
p,
|
|
6717
6708
|
{
|
|
@@ -7002,7 +6993,7 @@ function ud(e) {
|
|
|
7002
6993
|
}
|
|
7003
6994
|
) });
|
|
7004
6995
|
}
|
|
7005
|
-
const
|
|
6996
|
+
const Lu = so.extend({
|
|
7006
6997
|
addOptions() {
|
|
7007
6998
|
var e;
|
|
7008
6999
|
return {
|
|
@@ -7029,7 +7020,7 @@ const Su = so.extend({
|
|
|
7029
7020
|
cd.configure(this.options.tableCellBackground)
|
|
7030
7021
|
];
|
|
7031
7022
|
}
|
|
7032
|
-
}),
|
|
7023
|
+
}), Su = Y.create({
|
|
7033
7024
|
name: "painter",
|
|
7034
7025
|
addOptions() {
|
|
7035
7026
|
var e;
|
|
@@ -11383,7 +11374,7 @@ function jd({ editor: e, icon: t, ...i }) {
|
|
|
11383
11374
|
}
|
|
11384
11375
|
) });
|
|
11385
11376
|
}
|
|
11386
|
-
const Fd = 200, Ud = new _e("emoji"),
|
|
11377
|
+
const Fd = 200, Ud = new _e("emoji"), Mu = ue.create({
|
|
11387
11378
|
name: "emoji",
|
|
11388
11379
|
content: "text*",
|
|
11389
11380
|
priority: Fd,
|
|
@@ -11660,7 +11651,7 @@ function Zd(e) {
|
|
|
11660
11651
|
const t = e.getHTML();
|
|
11661
11652
|
return t ? (Xd(t), !0) : !1;
|
|
11662
11653
|
}
|
|
11663
|
-
const
|
|
11654
|
+
const Iu = Y.create({
|
|
11664
11655
|
name: "exportPdf",
|
|
11665
11656
|
addOptions() {
|
|
11666
11657
|
var e;
|
|
@@ -11776,7 +11767,7 @@ function Qd(e) {
|
|
|
11776
11767
|
)
|
|
11777
11768
|
] });
|
|
11778
11769
|
}
|
|
11779
|
-
const
|
|
11770
|
+
const zu = Y.create({
|
|
11780
11771
|
name: "importWord",
|
|
11781
11772
|
addOptions() {
|
|
11782
11773
|
var e;
|
|
@@ -11820,7 +11811,7 @@ const ih = {
|
|
|
11820
11811
|
image(e, t) {
|
|
11821
11812
|
e.renderInline(t), e.closeBlock(t);
|
|
11822
11813
|
}
|
|
11823
|
-
}, nh = new Io(ih, zo),
|
|
11814
|
+
}, nh = new Io(ih, zo), Eu = Y.create({
|
|
11824
11815
|
name: "exportWord",
|
|
11825
11816
|
addOptions() {
|
|
11826
11817
|
var e;
|
|
@@ -12080,7 +12071,7 @@ function gh(e) {
|
|
|
12080
12071
|
)
|
|
12081
12072
|
] });
|
|
12082
12073
|
}
|
|
12083
|
-
const
|
|
12074
|
+
const Hu = Y.create({
|
|
12084
12075
|
name: "text-direction",
|
|
12085
12076
|
addOptions() {
|
|
12086
12077
|
var e;
|
|
@@ -12227,7 +12218,7 @@ const Ru = Y.create({
|
|
|
12227
12218
|
}
|
|
12228
12219
|
};
|
|
12229
12220
|
}
|
|
12230
|
-
},
|
|
12221
|
+
}, Ru = mo.extend({
|
|
12231
12222
|
addAttributes() {
|
|
12232
12223
|
return {
|
|
12233
12224
|
id: {
|
|
@@ -12337,7 +12328,7 @@ function Th({ editor: e, node: t, updateAttributes: i, deleteNode: n, extension:
|
|
|
12337
12328
|
)
|
|
12338
12329
|
] }) }) : g !== "null" ? /* @__PURE__ */ r(ae, { children: /* @__PURE__ */ r("div", { className: ee(qt.wrap, "render-wrapper"), onClick: v, children: /* @__PURE__ */ r("p", { children: g }) }) }) : /* @__PURE__ */ r(W, {});
|
|
12339
12330
|
}
|
|
12340
|
-
const
|
|
12331
|
+
const Ou = ue.create({
|
|
12341
12332
|
name: "attachment",
|
|
12342
12333
|
content: "",
|
|
12343
12334
|
marks: "",
|
|
@@ -13124,54 +13115,54 @@ const en = si.extend({
|
|
|
13124
13115
|
}
|
|
13125
13116
|
});
|
|
13126
13117
|
export {
|
|
13127
|
-
|
|
13128
|
-
|
|
13129
|
-
|
|
13118
|
+
Eu as A,
|
|
13119
|
+
iu as B,
|
|
13120
|
+
ou as C,
|
|
13130
13121
|
fh as D,
|
|
13131
|
-
|
|
13132
|
-
|
|
13122
|
+
Mu as E,
|
|
13123
|
+
cu as F,
|
|
13133
13124
|
Be as G,
|
|
13134
|
-
|
|
13135
|
-
|
|
13136
|
-
|
|
13125
|
+
su as H,
|
|
13126
|
+
nu as I,
|
|
13127
|
+
Hu as J,
|
|
13137
13128
|
je as K,
|
|
13138
|
-
|
|
13139
|
-
|
|
13140
|
-
|
|
13141
|
-
|
|
13142
|
-
|
|
13129
|
+
pu as L,
|
|
13130
|
+
Cu as M,
|
|
13131
|
+
Ru as N,
|
|
13132
|
+
gu as O,
|
|
13133
|
+
Ou as P,
|
|
13143
13134
|
er as Q,
|
|
13144
|
-
|
|
13145
|
-
|
|
13146
|
-
|
|
13147
|
-
|
|
13135
|
+
tu as R,
|
|
13136
|
+
au as S,
|
|
13137
|
+
lu as T,
|
|
13138
|
+
ru as U,
|
|
13148
13139
|
rd as V,
|
|
13149
13140
|
en as W,
|
|
13150
13141
|
ti as X,
|
|
13151
13142
|
fl as a,
|
|
13152
|
-
|
|
13153
|
-
|
|
13154
|
-
|
|
13155
|
-
|
|
13156
|
-
|
|
13157
|
-
|
|
13158
|
-
|
|
13159
|
-
|
|
13160
|
-
|
|
13161
|
-
|
|
13162
|
-
|
|
13143
|
+
du as b,
|
|
13144
|
+
hu as c,
|
|
13145
|
+
uu as d,
|
|
13146
|
+
mu as e,
|
|
13147
|
+
fu as f,
|
|
13148
|
+
xu as g,
|
|
13149
|
+
bu as h,
|
|
13150
|
+
wu as i,
|
|
13151
|
+
_u as j,
|
|
13152
|
+
yu as k,
|
|
13153
|
+
ku as l,
|
|
13163
13154
|
Jo as m,
|
|
13164
|
-
|
|
13165
|
-
|
|
13166
|
-
|
|
13155
|
+
Nu as n,
|
|
13156
|
+
Tu as o,
|
|
13157
|
+
Au as p,
|
|
13167
13158
|
ed as q,
|
|
13168
|
-
|
|
13169
|
-
|
|
13159
|
+
Lu as r,
|
|
13160
|
+
Su as s,
|
|
13170
13161
|
Ni as t,
|
|
13171
13162
|
lt as u,
|
|
13172
|
-
|
|
13163
|
+
vu as v,
|
|
13173
13164
|
$e as w,
|
|
13174
13165
|
pd as x,
|
|
13175
|
-
|
|
13176
|
-
|
|
13166
|
+
Iu as y,
|
|
13167
|
+
zu as z
|
|
13177
13168
|
};
|