@editora/core 1.0.8 → 1.0.9
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/README.md +5 -0
- package/dist/{A11yCheckerPlugin.native-BRdGYMju.mjs → A11yCheckerPlugin.native-58d12bed.mjs} +23 -12
- package/dist/{AnchorPlugin.native-BcYGEtd9.mjs → AnchorPlugin.native-289a112a.mjs} +112 -102
- package/dist/{ApprovalWorkflowPlugin.native-C3jtAYjG.mjs → ApprovalWorkflowPlugin.native-449ce66c.mjs} +79 -40
- package/dist/{BackgroundColorPlugin.native-50iAT9xU.mjs → BackgroundColorPlugin.native-8aceb5cc.mjs} +16 -9
- package/dist/{BlockquotePlugin.native-JFmOLsxN.mjs → BlockquotePlugin.native-3541c714.mjs} +3 -2
- package/dist/{BlocksLibraryPlugin.native-HMWKxWNs.mjs → BlocksLibraryPlugin.native-1cc51e63.mjs} +119 -60
- package/dist/{BoldPlugin.native-BAzzoqU5.mjs → BoldPlugin.native-f9d7f8e4.mjs} +1 -1
- package/dist/{CapitalizationPlugin.native-DOMsh5R7.mjs → CapitalizationPlugin.native-42c135dc.mjs} +3 -2
- package/dist/{ChecklistPlugin.native-nuSSEFNI.mjs → ChecklistPlugin.native-3b397ee9.mjs} +43 -22
- package/dist/{CitationsPlugin.native-BnU0qCwR.mjs → CitationsPlugin.native-169fb1e8.mjs} +137 -69
- package/dist/{ClearFormattingPlugin.native-Bq_XcTh2.mjs → ClearFormattingPlugin.native-77baa514.mjs} +11 -6
- package/dist/{CodePlugin.native-DlpTPdkd.mjs → CodePlugin.native-989cf0aa.mjs} +629 -580
- package/dist/{CodeSamplePlugin.native-CgGoH-X4.mjs → CodeSamplePlugin.native-6cc0148e.mjs} +19 -10
- package/dist/{CommentsPlugin.native-DPSqTkiv.mjs → CommentsPlugin.native-03659874.mjs} +55 -28
- package/dist/{ConditionalContentPlugin.native-CfhY46rU.mjs → ConditionalContentPlugin.native-4983143a.mjs} +108 -51
- package/dist/{ContentRulesPlugin.native-nBLQ8QFZ.mjs → ContentRulesPlugin.native-63ed405b.mjs} +100 -50
- package/dist/{DataBindingPlugin.native-jQ1JPRTp.mjs → DataBindingPlugin.native-427e9d75.mjs} +79 -40
- package/dist/{DirectionPlugin.native-CDnbdNyl.mjs → DirectionPlugin.native-4e742f42.mjs} +19 -10
- package/dist/{DocSchemaPlugin.native-CHOge18O.mjs → DocSchemaPlugin.native-8e41eda0.mjs} +115 -58
- package/dist/{DocumentManagerPlugin.native-C2cs_1w4.mjs → DocumentManagerPlugin.native-e69895ad.mjs} +4 -4
- package/dist/{EmbedIframePlugin.native-DKJx2OS7.mjs → EmbedIframePlugin.native-55209c87.mjs} +70 -70
- package/dist/{EmojisPlugin.native-CitxxlWX.mjs → EmojisPlugin.native-65c5ac47.mjs} +11 -6
- package/dist/{FontFamilyPlugin.native-j8hMTbg4.mjs → FontFamilyPlugin.native-f9bc255a.mjs} +7 -4
- package/dist/{FontSizePlugin.native-B_jCh7dY.mjs → FontSizePlugin.native-f5647872.mjs} +19 -10
- package/dist/{FootnotePlugin.native-D730OGRm.mjs → FootnotePlugin.native-494657b3.mjs} +77 -39
- package/dist/{FullscreenPlugin.native-ChXyxeNw.mjs → FullscreenPlugin.native-87ce92e9.mjs} +1 -1
- package/dist/{HeadingPlugin.native-DrLYwQnQ.mjs → HeadingPlugin.native-e38c4a16.mjs} +1 -1
- package/dist/{HistoryPlugin.native-TDnVMsEO.mjs → HistoryPlugin.native-92ed4be4.mjs} +43 -22
- package/dist/{IndentPlugin.native-BHixp8sP.mjs → IndentPlugin.native-e4ee902b.mjs} +23 -12
- package/dist/{ItalicPlugin.native-CQjjDyUL.mjs → ItalicPlugin.native-7c95cfbc.mjs} +1 -1
- package/dist/{LineHeightPlugin.native-CM7iXdQj.mjs → LineHeightPlugin.native-5668f78c.mjs} +19 -10
- package/dist/{LinkPlugin.native-DYCIcdTm.mjs → LinkPlugin.native-6df29111.mjs} +9 -5
- package/dist/{ListPlugin.native-V7EZC1lM.mjs → ListPlugin.native-fe2e115a.mjs} +9 -5
- package/dist/{MathPlugin.native-f_mDp8VL.mjs → MathPlugin.native-735bbac2.mjs} +9 -5
- package/dist/{MediaManagerPlugin.native-BiXiK8FC.mjs → MediaManagerPlugin.native-3cf48a00.mjs} +219 -207
- package/dist/{MentionPlugin.native-BMDlOqur.mjs → MentionPlugin.native-3b1e8c05.mjs} +89 -45
- package/dist/{MergeTagPlugin.native-C3eOfEgw.mjs → MergeTagPlugin.native-31cf7d48.mjs} +51 -26
- package/dist/{PIIRedactionPlugin.native-DcsjmtV1.mjs → PIIRedactionPlugin.native-7ab10b9f.mjs} +107 -54
- package/dist/{PageBreakPlugin.native-DijGuHJZ.mjs → PageBreakPlugin.native-1794c5fb.mjs} +31 -16
- package/dist/{PreviewPlugin.native-WuIwOAOR.mjs → PreviewPlugin.native-f7b67cc0.mjs} +11 -6
- package/dist/{PrintPlugin.native-7qt5v7L5.mjs → PrintPlugin.native-f6a168c2.mjs} +5 -3
- package/dist/{SlashCommandsPlugin.native-CmxvMEaE.mjs → SlashCommandsPlugin.native-8d45e511.mjs} +72 -37
- package/dist/{SmartPastePlugin.native-BOKKtF07.mjs → SmartPastePlugin.native-a6c5efec.mjs} +99 -50
- package/dist/{SpecialCharactersPlugin.native-CZDato89.mjs → SpecialCharactersPlugin.native-7f06d4ba.mjs} +17 -9
- package/dist/{SpellCheckPlugin.native-BZB9AewP.mjs → SpellCheckPlugin.native-04e20834.mjs} +41 -21
- package/dist/{StrikethroughPlugin.native-0Be7j49s.mjs → StrikethroughPlugin.native-905e9501.mjs} +9 -5
- package/dist/{TablePlugin.native-DrHX-efe.mjs → TablePlugin.native-7d5458c1.mjs} +58 -30
- package/dist/{TemplatePlugin.native-CrpfKRJ8.mjs → TemplatePlugin.native-580f0f63.mjs} +32 -17
- package/dist/{TextAlignmentPlugin.native-sM_1s00t.mjs → TextAlignmentPlugin.native-9357b3ed.mjs} +11 -6
- package/dist/{TextColorPlugin.native-Bwl_bSmc.mjs → TextColorPlugin.native-d53ed459.mjs} +26 -14
- package/dist/{TrackChangesPlugin.native-Bghu2q4a.mjs → TrackChangesPlugin.native-e96da509.mjs} +115 -58
- package/dist/{TranslationWorkflowPlugin.native-Bz6jDGvj.mjs → TranslationWorkflowPlugin.native-4e711b1e.mjs} +160 -91
- package/dist/{UnderlinePlugin.native-QpIcK4L2.mjs → UnderlinePlugin.native-8080c998.mjs} +1 -1
- package/dist/{VersionDiffPlugin.native-Bvxgy--t.mjs → VersionDiffPlugin.native-5bbeff85.mjs} +51 -26
- package/dist/_commonjsHelpers-69d58be2.mjs +31 -0
- package/dist/{anchoredPopover-Bxds0VoB.mjs → anchoredPopover-5cca53ba.mjs} +1 -1
- package/dist/documentManager-8327fb6e.mjs +9166 -0
- package/dist/{editorContainerHelpers-C7kdWnS0.mjs → editorContainerHelpers-69585c07.mjs} +3 -2
- package/dist/editora.min.js +14 -13
- package/dist/editora.umd.js +14 -13
- package/dist/{html2canvas.esm-AYkPY5LS.mjs → html2canvas.esm-c51cb3b9.mjs} +978 -894
- package/dist/index-072ef022.js +11 -0
- package/dist/index-49d31221.mjs +16860 -0
- package/dist/{index-DqC57IEH.mjs → index-7da30697.mjs} +163 -124
- package/dist/index.cjs.js +1 -1
- package/dist/index.es-b47a189f.mjs +5782 -0
- package/dist/index.esm.js +12 -7
- package/dist/{jspdf.es.min-BJGtOnRT.mjs → jspdf.es.min-780c82db.mjs} +4808 -3784
- package/dist/plugin-loader.js +67 -67
- package/dist/{purify.es-CKpwg8Tk.mjs → purify.es-3bdbcfc5.mjs} +20 -10
- package/dist/style.css +1 -0
- package/dist/webcomponent-core.js +164 -125
- package/dist/webcomponent-core.min.css +1 -1
- package/dist/webcomponent-core.min.js +18 -17
- package/dist/webcomponent.cjs.js +1 -1
- package/dist/webcomponent.esm.js +1 -1
- package/dist/webcomponent.js +226 -187
- package/dist/webcomponent.min.css +1 -1
- package/dist/webcomponent.min.js +1324 -1117
- package/package.json +11 -5
- package/LICENSE +0 -21
- package/dist/_commonjsHelpers-DOllISpa.mjs +0 -32
- package/dist/core.css +0 -1
- package/dist/documentManager-vQ1VkbUY.mjs +0 -8418
- package/dist/index-BslAFzmv.mjs +0 -16544
- package/dist/index-D1LOqg5C.js +0 -10
- package/dist/index.es-BYD2KEo6.mjs +0 -6666
package/dist/plugin-loader.js
CHANGED
|
@@ -1,71 +1,71 @@
|
|
|
1
1
|
const r = {
|
|
2
|
-
codeSample: () => import("./CodeSamplePlugin.native-
|
|
3
|
-
checklist: () => import("./ChecklistPlugin.native-
|
|
4
|
-
textAlignment: () => import("./TextAlignmentPlugin.native-
|
|
5
|
-
indent: () => import("./IndentPlugin.native-
|
|
6
|
-
direction: () => import("./DirectionPlugin.native-
|
|
7
|
-
textColor: () => import("./TextColorPlugin.native-
|
|
8
|
-
backgroundColor: () => import("./BackgroundColorPlugin.native-
|
|
9
|
-
fontSize: () => import("./FontSizePlugin.native-
|
|
10
|
-
fontFamily: () => import("./FontFamilyPlugin.native-
|
|
11
|
-
lineHeight: () => import("./LineHeightPlugin.native-
|
|
12
|
-
capitalization: () => import("./CapitalizationPlugin.native-
|
|
13
|
-
link: () => import("./LinkPlugin.native-
|
|
14
|
-
table: () => import("./TablePlugin.native-
|
|
15
|
-
trackChanges: () => import("./TrackChangesPlugin.native-
|
|
16
|
-
versionDiff: () => import("./VersionDiffPlugin.native-
|
|
17
|
-
"version-diff": () => import("./VersionDiffPlugin.native-
|
|
18
|
-
versiondiff: () => import("./VersionDiffPlugin.native-
|
|
19
|
-
conditionalContent: () => import("./ConditionalContentPlugin.native-
|
|
20
|
-
"conditional-content": () => import("./ConditionalContentPlugin.native-
|
|
21
|
-
conditionalcontent: () => import("./ConditionalContentPlugin.native-
|
|
22
|
-
dataBinding: () => import("./DataBindingPlugin.native-
|
|
23
|
-
"data-binding": () => import("./DataBindingPlugin.native-
|
|
24
|
-
databinding: () => import("./DataBindingPlugin.native-
|
|
25
|
-
docSchema: () => import("./DocSchemaPlugin.native-
|
|
26
|
-
"doc-schema": () => import("./DocSchemaPlugin.native-
|
|
27
|
-
docschema: () => import("./DocSchemaPlugin.native-
|
|
28
|
-
translationWorkflow: () => import("./TranslationWorkflowPlugin.native-
|
|
29
|
-
"translation-workflow": () => import("./TranslationWorkflowPlugin.native-
|
|
30
|
-
translationworkflow: () => import("./TranslationWorkflowPlugin.native-
|
|
31
|
-
contentRules: () => import("./ContentRulesPlugin.native-
|
|
32
|
-
"content-rules": () => import("./ContentRulesPlugin.native-
|
|
33
|
-
contentrules: () => import("./ContentRulesPlugin.native-
|
|
34
|
-
citations: () => import("./CitationsPlugin.native-
|
|
35
|
-
citation: () => import("./CitationsPlugin.native-
|
|
36
|
-
approvalWorkflow: () => import("./ApprovalWorkflowPlugin.native-
|
|
37
|
-
"approval-workflow": () => import("./ApprovalWorkflowPlugin.native-
|
|
38
|
-
approvalworkflow: () => import("./ApprovalWorkflowPlugin.native-
|
|
39
|
-
piiRedaction: () => import("./PIIRedactionPlugin.native-
|
|
40
|
-
"pii-redaction": () => import("./PIIRedactionPlugin.native-
|
|
41
|
-
piiredaction: () => import("./PIIRedactionPlugin.native-
|
|
42
|
-
smartPaste: () => import("./SmartPastePlugin.native-
|
|
43
|
-
"smart-paste": () => import("./SmartPastePlugin.native-
|
|
44
|
-
smartpaste: () => import("./SmartPastePlugin.native-
|
|
45
|
-
blocksLibrary: () => import("./BlocksLibraryPlugin.native-
|
|
46
|
-
"blocks-library": () => import("./BlocksLibraryPlugin.native-
|
|
47
|
-
blockslibrary: () => import("./BlocksLibraryPlugin.native-
|
|
48
|
-
mentions: () => import("./MentionPlugin.native-
|
|
49
|
-
mention: () => import("./MentionPlugin.native-
|
|
50
|
-
anchor: () => import("./AnchorPlugin.native-
|
|
51
|
-
embedIframe: () => import("./EmbedIframePlugin.native-
|
|
52
|
-
math: () => import("./MathPlugin.native-
|
|
53
|
-
image: () => import("./MediaManagerPlugin.native-
|
|
54
|
-
mergeTag: () => import("./MergeTagPlugin.native-
|
|
55
|
-
pageBreak: () => import("./PageBreakPlugin.native-
|
|
56
|
-
print: () => import("./PrintPlugin.native-
|
|
57
|
-
preview: () => import("./PreviewPlugin.native-
|
|
58
|
-
specialCharacters: () => import("./SpecialCharactersPlugin.native-
|
|
59
|
-
slashCommands: () => import("./SlashCommandsPlugin.native-
|
|
60
|
-
"slash-commands": () => import("./SlashCommandsPlugin.native-
|
|
61
|
-
spellCheck: () => import("./SpellCheckPlugin.native-
|
|
62
|
-
emojis: () => import("./EmojisPlugin.native-
|
|
63
|
-
a11yChecker: () => import("./A11yCheckerPlugin.native-
|
|
64
|
-
comments: () => import("./CommentsPlugin.native-
|
|
65
|
-
"document-manager": () => import("./DocumentManagerPlugin.native-
|
|
66
|
-
fullscreen: () => import("./FullscreenPlugin.native-
|
|
67
|
-
template: () => import("./TemplatePlugin.native-
|
|
68
|
-
footnote: () => import("./FootnotePlugin.native-
|
|
2
|
+
codeSample: () => import("./CodeSamplePlugin.native-6cc0148e.mjs").then((n) => n.CodeSamplePlugin()),
|
|
3
|
+
checklist: () => import("./ChecklistPlugin.native-3b397ee9.mjs").then((n) => n.ChecklistPlugin()),
|
|
4
|
+
textAlignment: () => import("./TextAlignmentPlugin.native-9357b3ed.mjs").then((n) => n.TextAlignmentPlugin()),
|
|
5
|
+
indent: () => import("./IndentPlugin.native-e4ee902b.mjs").then((n) => n.IndentPlugin()),
|
|
6
|
+
direction: () => import("./DirectionPlugin.native-4e742f42.mjs").then((n) => n.DirectionPlugin()),
|
|
7
|
+
textColor: () => import("./TextColorPlugin.native-d53ed459.mjs").then((n) => n.TextColorPlugin()),
|
|
8
|
+
backgroundColor: () => import("./BackgroundColorPlugin.native-8aceb5cc.mjs").then((n) => n.BackgroundColorPlugin()),
|
|
9
|
+
fontSize: () => import("./FontSizePlugin.native-f5647872.mjs").then((n) => n.FontSizePlugin()),
|
|
10
|
+
fontFamily: () => import("./FontFamilyPlugin.native-f9bc255a.mjs").then((n) => n.FontFamilyPlugin()),
|
|
11
|
+
lineHeight: () => import("./LineHeightPlugin.native-5668f78c.mjs").then((n) => n.LineHeightPlugin()),
|
|
12
|
+
capitalization: () => import("./CapitalizationPlugin.native-42c135dc.mjs").then((n) => n.CapitalizationPlugin()),
|
|
13
|
+
link: () => import("./LinkPlugin.native-6df29111.mjs").then((n) => n.LinkPlugin()),
|
|
14
|
+
table: () => import("./TablePlugin.native-7d5458c1.mjs").then((n) => n.TablePlugin()),
|
|
15
|
+
trackChanges: () => import("./TrackChangesPlugin.native-e96da509.mjs").then((n) => n.TrackChangesPlugin()),
|
|
16
|
+
versionDiff: () => import("./VersionDiffPlugin.native-5bbeff85.mjs").then((n) => n.VersionDiffPlugin()),
|
|
17
|
+
"version-diff": () => import("./VersionDiffPlugin.native-5bbeff85.mjs").then((n) => n.VersionDiffPlugin()),
|
|
18
|
+
versiondiff: () => import("./VersionDiffPlugin.native-5bbeff85.mjs").then((n) => n.VersionDiffPlugin()),
|
|
19
|
+
conditionalContent: () => import("./ConditionalContentPlugin.native-4983143a.mjs").then((n) => n.ConditionalContentPlugin()),
|
|
20
|
+
"conditional-content": () => import("./ConditionalContentPlugin.native-4983143a.mjs").then((n) => n.ConditionalContentPlugin()),
|
|
21
|
+
conditionalcontent: () => import("./ConditionalContentPlugin.native-4983143a.mjs").then((n) => n.ConditionalContentPlugin()),
|
|
22
|
+
dataBinding: () => import("./DataBindingPlugin.native-427e9d75.mjs").then((n) => n.DataBindingPlugin()),
|
|
23
|
+
"data-binding": () => import("./DataBindingPlugin.native-427e9d75.mjs").then((n) => n.DataBindingPlugin()),
|
|
24
|
+
databinding: () => import("./DataBindingPlugin.native-427e9d75.mjs").then((n) => n.DataBindingPlugin()),
|
|
25
|
+
docSchema: () => import("./DocSchemaPlugin.native-8e41eda0.mjs").then((n) => n.DocSchemaPlugin()),
|
|
26
|
+
"doc-schema": () => import("./DocSchemaPlugin.native-8e41eda0.mjs").then((n) => n.DocSchemaPlugin()),
|
|
27
|
+
docschema: () => import("./DocSchemaPlugin.native-8e41eda0.mjs").then((n) => n.DocSchemaPlugin()),
|
|
28
|
+
translationWorkflow: () => import("./TranslationWorkflowPlugin.native-4e711b1e.mjs").then((n) => n.TranslationWorkflowPlugin()),
|
|
29
|
+
"translation-workflow": () => import("./TranslationWorkflowPlugin.native-4e711b1e.mjs").then((n) => n.TranslationWorkflowPlugin()),
|
|
30
|
+
translationworkflow: () => import("./TranslationWorkflowPlugin.native-4e711b1e.mjs").then((n) => n.TranslationWorkflowPlugin()),
|
|
31
|
+
contentRules: () => import("./ContentRulesPlugin.native-63ed405b.mjs").then((n) => n.ContentRulesPlugin()),
|
|
32
|
+
"content-rules": () => import("./ContentRulesPlugin.native-63ed405b.mjs").then((n) => n.ContentRulesPlugin()),
|
|
33
|
+
contentrules: () => import("./ContentRulesPlugin.native-63ed405b.mjs").then((n) => n.ContentRulesPlugin()),
|
|
34
|
+
citations: () => import("./CitationsPlugin.native-169fb1e8.mjs").then((n) => n.CitationsPlugin()),
|
|
35
|
+
citation: () => import("./CitationsPlugin.native-169fb1e8.mjs").then((n) => n.CitationsPlugin()),
|
|
36
|
+
approvalWorkflow: () => import("./ApprovalWorkflowPlugin.native-449ce66c.mjs").then((n) => n.ApprovalWorkflowPlugin()),
|
|
37
|
+
"approval-workflow": () => import("./ApprovalWorkflowPlugin.native-449ce66c.mjs").then((n) => n.ApprovalWorkflowPlugin()),
|
|
38
|
+
approvalworkflow: () => import("./ApprovalWorkflowPlugin.native-449ce66c.mjs").then((n) => n.ApprovalWorkflowPlugin()),
|
|
39
|
+
piiRedaction: () => import("./PIIRedactionPlugin.native-7ab10b9f.mjs").then((n) => n.PIIRedactionPlugin()),
|
|
40
|
+
"pii-redaction": () => import("./PIIRedactionPlugin.native-7ab10b9f.mjs").then((n) => n.PIIRedactionPlugin()),
|
|
41
|
+
piiredaction: () => import("./PIIRedactionPlugin.native-7ab10b9f.mjs").then((n) => n.PIIRedactionPlugin()),
|
|
42
|
+
smartPaste: () => import("./SmartPastePlugin.native-a6c5efec.mjs").then((n) => n.SmartPastePlugin()),
|
|
43
|
+
"smart-paste": () => import("./SmartPastePlugin.native-a6c5efec.mjs").then((n) => n.SmartPastePlugin()),
|
|
44
|
+
smartpaste: () => import("./SmartPastePlugin.native-a6c5efec.mjs").then((n) => n.SmartPastePlugin()),
|
|
45
|
+
blocksLibrary: () => import("./BlocksLibraryPlugin.native-1cc51e63.mjs").then((n) => n.BlocksLibraryPlugin()),
|
|
46
|
+
"blocks-library": () => import("./BlocksLibraryPlugin.native-1cc51e63.mjs").then((n) => n.BlocksLibraryPlugin()),
|
|
47
|
+
blockslibrary: () => import("./BlocksLibraryPlugin.native-1cc51e63.mjs").then((n) => n.BlocksLibraryPlugin()),
|
|
48
|
+
mentions: () => import("./MentionPlugin.native-3b1e8c05.mjs").then((n) => n.MentionPlugin()),
|
|
49
|
+
mention: () => import("./MentionPlugin.native-3b1e8c05.mjs").then((n) => n.MentionPlugin()),
|
|
50
|
+
anchor: () => import("./AnchorPlugin.native-289a112a.mjs").then((n) => n.AnchorPlugin()),
|
|
51
|
+
embedIframe: () => import("./EmbedIframePlugin.native-55209c87.mjs").then((n) => n.EmbedIframePlugin()),
|
|
52
|
+
math: () => import("./MathPlugin.native-735bbac2.mjs").then((n) => n.MathPlugin()),
|
|
53
|
+
image: () => import("./MediaManagerPlugin.native-3cf48a00.mjs").then((n) => n.MediaManagerPlugin()),
|
|
54
|
+
mergeTag: () => import("./MergeTagPlugin.native-31cf7d48.mjs").then((n) => n.MergeTagPlugin()),
|
|
55
|
+
pageBreak: () => import("./PageBreakPlugin.native-1794c5fb.mjs").then((n) => n.PageBreakPlugin()),
|
|
56
|
+
print: () => import("./PrintPlugin.native-f6a168c2.mjs").then((n) => n.PrintPlugin()),
|
|
57
|
+
preview: () => import("./PreviewPlugin.native-f7b67cc0.mjs").then((n) => n.PreviewPlugin()),
|
|
58
|
+
specialCharacters: () => import("./SpecialCharactersPlugin.native-7f06d4ba.mjs").then((n) => n.SpecialCharactersPlugin()),
|
|
59
|
+
slashCommands: () => import("./SlashCommandsPlugin.native-8d45e511.mjs").then((n) => n.SlashCommandsPlugin()),
|
|
60
|
+
"slash-commands": () => import("./SlashCommandsPlugin.native-8d45e511.mjs").then((n) => n.SlashCommandsPlugin()),
|
|
61
|
+
spellCheck: () => import("./SpellCheckPlugin.native-04e20834.mjs").then((n) => n.SpellCheckPlugin()),
|
|
62
|
+
emojis: () => import("./EmojisPlugin.native-65c5ac47.mjs").then((n) => n.EmojisPlugin()),
|
|
63
|
+
a11yChecker: () => import("./A11yCheckerPlugin.native-58d12bed.mjs").then((n) => n.A11yCheckerPlugin()),
|
|
64
|
+
comments: () => import("./CommentsPlugin.native-03659874.mjs").then((n) => n.CommentsPlugin()),
|
|
65
|
+
"document-manager": () => import("./DocumentManagerPlugin.native-e69895ad.mjs").then((n) => n.DocumentManagerPlugin()),
|
|
66
|
+
fullscreen: () => import("./FullscreenPlugin.native-87ce92e9.mjs").then((n) => n.FullscreenPlugin()),
|
|
67
|
+
template: () => import("./TemplatePlugin.native-580f0f63.mjs").then((n) => n.TemplatePlugin()),
|
|
68
|
+
footnote: () => import("./FootnotePlugin.native-494657b3.mjs").then((n) => n.FootnotePlugin())
|
|
69
69
|
};
|
|
70
70
|
async function a(n) {
|
|
71
71
|
var i, o;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/*! @license DOMPurify 2.5.8 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.5.8/LICENSE */
|
|
1
2
|
function I(a) {
|
|
2
3
|
"@babel/helpers - typeof";
|
|
3
4
|
return I = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(n) {
|
|
@@ -12,8 +13,10 @@ function Fe(a, n) {
|
|
|
12
13
|
}, Fe(a, n);
|
|
13
14
|
}
|
|
14
15
|
function zt() {
|
|
15
|
-
if (typeof Reflect == "undefined" || !Reflect.construct || Reflect.construct.sham)
|
|
16
|
-
|
|
16
|
+
if (typeof Reflect == "undefined" || !Reflect.construct || Reflect.construct.sham)
|
|
17
|
+
return !1;
|
|
18
|
+
if (typeof Proxy == "function")
|
|
19
|
+
return !0;
|
|
17
20
|
try {
|
|
18
21
|
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
19
22
|
})), !0;
|
|
@@ -33,22 +36,28 @@ function M(a) {
|
|
|
33
36
|
return Gt(a) || Wt(a) || Bt(a) || $t();
|
|
34
37
|
}
|
|
35
38
|
function Gt(a) {
|
|
36
|
-
if (Array.isArray(a))
|
|
39
|
+
if (Array.isArray(a))
|
|
40
|
+
return Ue(a);
|
|
37
41
|
}
|
|
38
42
|
function Wt(a) {
|
|
39
|
-
if (typeof Symbol != "undefined" && a[Symbol.iterator] != null || a["@@iterator"] != null)
|
|
43
|
+
if (typeof Symbol != "undefined" && a[Symbol.iterator] != null || a["@@iterator"] != null)
|
|
44
|
+
return Array.from(a);
|
|
40
45
|
}
|
|
41
46
|
function Bt(a, n) {
|
|
42
47
|
if (a) {
|
|
43
|
-
if (typeof a == "string")
|
|
48
|
+
if (typeof a == "string")
|
|
49
|
+
return Ue(a, n);
|
|
44
50
|
var o = Object.prototype.toString.call(a).slice(8, -1);
|
|
45
|
-
if (o === "Object" && a.constructor && (o = a.constructor.name), o === "Map" || o === "Set")
|
|
46
|
-
|
|
51
|
+
if (o === "Object" && a.constructor && (o = a.constructor.name), o === "Map" || o === "Set")
|
|
52
|
+
return Array.from(a);
|
|
53
|
+
if (o === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))
|
|
54
|
+
return Ue(a, n);
|
|
47
55
|
}
|
|
48
56
|
}
|
|
49
57
|
function Ue(a, n) {
|
|
50
58
|
(n == null || n > a.length) && (n = a.length);
|
|
51
|
-
for (var o = 0, s = new Array(n); o < n; o++)
|
|
59
|
+
for (var o = 0, s = new Array(n); o < n; o++)
|
|
60
|
+
s[o] = a[o];
|
|
52
61
|
return s;
|
|
53
62
|
}
|
|
54
63
|
function $t() {
|
|
@@ -329,7 +338,8 @@ function _t() {
|
|
|
329
338
|
!(ot(e) && (f.tagNameCheck instanceof RegExp && _(f.tagNameCheck, e) || f.tagNameCheck instanceof Function && f.tagNameCheck(e)) && (f.attributeNameCheck instanceof RegExp && _(f.attributeNameCheck, t) || f.attributeNameCheck instanceof Function && f.attributeNameCheck(t)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
330
339
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
331
340
|
t === "is" && f.allowCustomizedBuiltInElements && (f.tagNameCheck instanceof RegExp && _(f.tagNameCheck, r) || f.tagNameCheck instanceof Function && f.tagNameCheck(r)))
|
|
332
|
-
)
|
|
341
|
+
)
|
|
342
|
+
return !1;
|
|
333
343
|
} else if (!be[t]) {
|
|
334
344
|
if (!_(_e, L(r, Ge, ""))) {
|
|
335
345
|
if (!((t === "src" || t === "xlink:href" || t === "href") && e !== "script" && Zt(r, "data:") === 0 && Ke[e])) {
|
|
@@ -468,4 +478,4 @@ var Tr = _t();
|
|
|
468
478
|
export {
|
|
469
479
|
Tr as default
|
|
470
480
|
};
|
|
471
|
-
//# sourceMappingURL=purify.es-
|
|
481
|
+
//# sourceMappingURL=purify.es-3bdbcfc5.mjs.map
|
package/dist/style.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.rte-table,table{border-collapse:collapse;width:100%;margin:1rem 0;border:1px solid #ddd;font-size:14px;line-height:1.4;position:relative}.rte-table td,.rte-table th,table td,table th{border:1px solid #ddd;padding:8px 12px;min-width:80px;vertical-align:top;position:relative;user-select:none}.rte-table td:focus,.rte-table th:focus,table td:focus,table th:focus{outline:2px solid #007acc;outline-offset:-2px}.rte-table th,table th{background-color:#f8f9fa;font-weight:600;text-align:left}.rte-table td p,table td p{margin:0;padding:0}.rte-table td p:empty:before,table td p:empty:before{content:"";display:inline-block}.rte-table td[contenteditable]:empty:before,table td[contenteditable]:empty:before{content:"Type here...";color:#999;font-style:italic;pointer-events:none}.rte-table tr:hover,table tr:hover{background-color:#f8f9fa}.rte-table td.selected,table td.selected{background-color:#e3f2fd;border-color:#2196f3}.table-toolbar{background:white;border:1px solid #d0d0d0;border-radius:4px;box-shadow:0 2px 8px #0000001a;padding:4px;display:flex;align-items:center;gap:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;min-width:max-content}.toolbar-section{display:flex;align-items:center;gap:2px}.toolbar-divider{width:1px;height:20px;background:#e0e0e0;margin:0 4px}.toolbar-icon-btn{display:flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:1px solid transparent;background:transparent;cursor:pointer;color:#333;border-radius:3px;transition:all .2s ease;flex-shrink:0;font-size:14px;line-height:1}.toolbar-icon-btn svg{width:16px;height:16px}.toolbar-icon-btn:hover:not(:disabled){background:#f0f0f0;border-color:#d0d0d0;color:#06c}.toolbar-icon-btn:active:not(:disabled){background:#e8f0ff;border-color:#06c;transform:scale(.95)}.toolbar-icon-btn:disabled{opacity:.4;cursor:not-allowed;color:#ccc}.toolbar-icon-btn-danger{color:#d32f2f}.toolbar-icon-btn-danger:hover:not(:disabled){background:#fff3f3;border-color:#fcc;color:#d32f2f}.toolbar-icon-btn-danger:active:not(:disabled){background:#ffebee}.toolbar-icon-btn-delete{color:#d32f2f}.toolbar-icon-btn-delete:hover:not(:disabled){background:#fff3f3;border-color:#fcc;color:#d32f2f}.toolbar-icon-btn-delete:active:not(:disabled){background:#ffebee}.resize-handle{opacity:0;transition:all .15s ease}.resize-handle:hover{opacity:1}td:hover>.resize-handle,th:hover>.resize-handle{opacity:1}.table-resize-handle{position:absolute;bottom:-4px;right:-4px;width:12px;height:12px;background:transparent;cursor:nwse-resize;z-index:10;transition:background .15s ease}.table-resize-handle:after{content:"";position:absolute;bottom:0;right:0;width:8px;height:8px;background:rgba(0,102,204,.3);border-bottom:2px solid #0066cc;border-right:2px solid #0066cc;border-radius:0 0 2px;opacity:0;transition:opacity .15s ease}.table-resize-handle:hover:after{opacity:1}.rte-table:hover .table-resize-handle:after,table:hover .table-resize-handle:after{opacity:1}:is([data-theme=dark],.dark,.editora-theme-dark) :is(.rte-table,table){border-color:#607088;background:#24303c;color:#e6eefb}:is([data-theme=dark],.dark,.editora-theme-dark) :is(.rte-table td,.rte-table th,table td,table th){border-color:#607088;color:#e6eefb}:is([data-theme=dark],.dark,.editora-theme-dark) :is(.rte-table th,table th){background:linear-gradient(180deg,#3b4553 0%,#333d4a 100%);color:#f3f8ff}:is([data-theme=dark],.dark,.editora-theme-dark) :is(.rte-table tr:hover,table tr:hover){background-color:#58a6ff1f}:is([data-theme=dark],.dark,.editora-theme-dark) :is(.rte-table td.selected,table td.selected){background-color:#58a6ff47;border-color:#79beff}:is([data-theme=dark],.dark,.editora-theme-dark) :is(.rte-table td[contenteditable]:empty:before,table td[contenteditable]:empty:before){color:#94a3b8}:is([data-theme=dark],.dark,.editora-theme-dark) .table-toolbar{background:linear-gradient(180deg,#2f3844 0%,#2a323c 100%);border-color:#4d596b;box-shadow:0 8px 20px #00000073}.table-toolbar.rte-theme-dark{background:linear-gradient(180deg,#2f3844 0%,#2a323c 100%);border-color:#4d596b;box-shadow:0 8px 20px #00000073}:is([data-theme=dark],.dark,.editora-theme-dark) .toolbar-divider{background:#4d596b}.table-toolbar.rte-theme-dark .toolbar-divider{background:#4d596b}:is([data-theme=dark],.dark,.editora-theme-dark) .toolbar-icon-btn{color:#d7deea;border-color:transparent}.table-toolbar.rte-theme-dark .toolbar-icon-btn{color:#d7deea;border-color:transparent}:is([data-theme=dark],.dark,.editora-theme-dark) .toolbar-icon-btn svg{color:currentColor;fill:currentColor}.table-toolbar.rte-theme-dark .toolbar-icon-btn svg{color:currentColor;fill:currentColor}:is([data-theme=dark],.dark,.editora-theme-dark) .toolbar-icon-btn svg [stroke="#000" i],:is([data-theme=dark],.dark,.editora-theme-dark) .toolbar-icon-btn svg [stroke="#000000" i],:is([data-theme=dark],.dark,.editora-theme-dark) .toolbar-icon-btn svg [stroke=black i]{stroke:currentColor!important}.table-toolbar.rte-theme-dark .toolbar-icon-btn svg [stroke="#000" i],.table-toolbar.rte-theme-dark .toolbar-icon-btn svg [stroke="#000000" i],.table-toolbar.rte-theme-dark .toolbar-icon-btn svg [stroke=black i]{stroke:currentColor!important}:is([data-theme=dark],.dark,.editora-theme-dark) .toolbar-icon-btn svg [fill="#000" i],:is([data-theme=dark],.dark,.editora-theme-dark) .toolbar-icon-btn svg [fill="#000000" i],:is([data-theme=dark],.dark,.editora-theme-dark) .toolbar-icon-btn svg [fill=black i]{fill:currentColor!important}.table-toolbar.rte-theme-dark .toolbar-icon-btn svg [fill="#000" i],.table-toolbar.rte-theme-dark .toolbar-icon-btn svg [fill="#000000" i],.table-toolbar.rte-theme-dark .toolbar-icon-btn svg [fill=black i]{fill:currentColor!important}:is([data-theme=dark],.dark,.editora-theme-dark) .toolbar-icon-btn:hover:not(:disabled){background:#3a4554;border-color:#607088;color:#f3f8ff}.table-toolbar.rte-theme-dark .toolbar-icon-btn:hover:not(:disabled){background:#3a4554;border-color:#607088;color:#f3f8ff}:is([data-theme=dark],.dark,.editora-theme-dark) .toolbar-icon-btn:active:not(:disabled){background:#4a95de;border-color:#67adf4;color:#0f1b2a}.table-toolbar.rte-theme-dark .toolbar-icon-btn:active:not(:disabled){background:#4a95de;border-color:#67adf4;color:#0f1b2a}:is([data-theme=dark],.dark,.editora-theme-dark) .toolbar-icon-btn:disabled{color:#7f8ca1}.table-toolbar.rte-theme-dark .toolbar-icon-btn:disabled{color:#7f8ca1}@media (max-width: 768px){.rte-table,table{font-size:12px}.rte-table td,.rte-table th,table td,table th{padding:4px 6px;min-width:60px}.table-toolbar{padding:3px;gap:0;max-width:90vw;overflow-x:auto}.toolbar-icon-btn{width:26px;height:26px}.toolbar-divider{height:18px}}@media print{.rte-table,table{border:1px solid #000}.rte-table td,.rte-table th,table td,table th{border:1px solid #000;padding:4px}.table-toolbar{display:none}}
|