reactjs-tiptap-editor 0.1.10 → 0.1.11
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/index.d.cts +48 -44
- package/lib/index.d.ts +48 -44
- package/lib/{locales-DVkllJxt.js → locales-CAZfnzv4.js} +10 -10
- package/lib/{locales-BC6dbJkS.cjs → locales-CO2wcFqJ.cjs} +1 -1
- package/lib/reactjs-tiptap-editor.cjs +1 -1
- package/lib/reactjs-tiptap-editor.js +2 -2
- package/lib/{utils-Cz6APHbz.js → utils-B0SMxWW-.js} +934 -926
- package/lib/utils-BG7adOxz.cjs +152 -0
- package/package.json +1 -1
- package/lib/utils-DVSn7b8y.cjs +0 -152
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./utils-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./utils-BG7adOxz.cjs"),t=require("./locales-CO2wcFqJ.cjs"),o=require("react"),s=require("./tiptap-z5OraroY.cjs");function c(){var r;const i=o.useRef({editor:null}),[l,a]=o.useState(!1),[u,d]=o.useState(null);return o.useEffect(()=>{var n;(n=i.current)!=null&&n.editor&&(a(!0),d(i.current.editor))},[i,(r=i.current)==null?void 0:r.editor]),{isReady:l,editor:u,editorRef:i}}exports.Attachment=e.Attachment;exports.BaseKit=e.BaseKit;exports.Blockquote=e.Blockquote;exports.Bold=e.Bold;exports.BulletList=e.BulletList;exports.Clear=e.Clear;exports.Code=e.Code;exports.CodeBlock=e.CodeBlock;exports.Color=e.Color;exports.Column=e.Column;exports.ColumnActionButton=e.ColumnActionButton;exports.Emoji=e.Emoji;exports.Excalidraw=e.Excalidraw;exports.ExportPdf=e.ExportPdf;exports.ExportWord=e.ExportWord;exports.FontFamily=e.FontFamily;exports.FontSize=e.FontSize;exports.FormatPainter=e.FormatPainter;exports.Heading=e.Heading;exports.Highlight=e.Highlight;exports.History=e.History;exports.HorizontalRule=e.HorizontalRule;exports.Iframe=e.Iframe;exports.Image=e.Image;exports.ImageGif=e.ImageGif;exports.ImportWord=e.ImportWord;exports.Indent=e.Indent;exports.Italic=e.Italic;exports.Katex=e.Katex;exports.LineHeight=e.LineHeight;exports.Link=e.Link;exports.Mention=e.Mention;exports.Mermaid=e.Mermaid;exports.MoreMark=e.MoreMark;exports.MultiColumn=e.MultiColumn;exports.OrderedList=e.OrderedList;exports.SearchAndReplace=e.SearchAndReplace;exports.SlashCommand=e.SlashCommand;exports.Strike=e.Strike;exports.SubAndSuperScript=e.SubAndSuperScript;exports.Table=e.Table;exports.TableOfContents=e.TableOfContents;exports.TaskList=e.TaskList;exports.TextAlign=e.TextAlign;exports.TextDirection=e.TextDirection;exports.Twitter=e.Twitter;exports.Underline=e.Underline;exports.Video=e.Video;exports.default=e.RichTextEditor;exports.en=t.en;exports.hu_HU=t.hu_HU;exports.locale=t.locale;exports.pt_BR=t.pt_BR;exports.vi=t.vi;exports.zh_CN=t.zh_CN;exports.BubbleMenu=s.BubbleMenu;exports.useEditorState=c;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as p, k as x, h as C, B, e as S, f as h, C as g, a as k, c as E, t as I, v as R, E as H, G as M, y as T, A as b, F as A, b as L, s as y, H as z, d as F, j as v, i as w, w as K, q as O, Q as P, z as U, n as W, I as _, K as j, o as q, L as D, N as G, W as N, M as V, u as J, O as Q, x as X, p as Y, S as Z, l as $, r as aa, D as sa, g as ea, T as ta, J as oa, X as ra, U as ia, V as na, R as la } from "./utils-
|
|
2
|
-
import { m as ua, n as ca, k as ma, p as fa, v as pa, z as xa } from "./locales-
|
|
1
|
+
import { P as p, k as x, h as C, B, e as S, f as h, C as g, a as k, c as E, t as I, v as R, E as H, G as M, y as T, A as b, F as A, b as L, s as y, H as z, d as F, j as v, i as w, w as K, q as O, Q as P, z as U, n as W, I as _, K as j, o as q, L as D, N as G, W as N, M as V, u as J, O as Q, x as X, p as Y, S as Z, l as $, r as aa, D as sa, g as ea, T as ta, J as oa, X as ra, U as ia, V as na, R as la } from "./utils-B0SMxWW-.js";
|
|
2
|
+
import { m as ua, n as ca, k as ma, p as fa, v as pa, z as xa } from "./locales-CAZfnzv4.js";
|
|
3
3
|
import { useRef as l, useState as t, useEffect as d } from "react";
|
|
4
4
|
import { B as Ba } from "./tiptap-BSVYcz58.js";
|
|
5
5
|
function c() {
|