@editora/core 1.0.6 → 1.0.8
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/LICENSE +21 -0
- package/dist/{AnchorPlugin.native-C1Rw5m04.mjs → AnchorPlugin.native-BcYGEtd9.mjs} +129 -105
- package/dist/ApprovalWorkflowPlugin.native-C3jtAYjG.mjs +1076 -0
- package/dist/{BackgroundColorPlugin.native-BE-p9DRd.mjs → BackgroundColorPlugin.native-50iAT9xU.mjs} +119 -122
- package/dist/BlocksLibraryPlugin.native-HMWKxWNs.mjs +1327 -0
- package/dist/CitationsPlugin.native-BnU0qCwR.mjs +1464 -0
- package/dist/CodePlugin.native-DlpTPdkd.mjs +2691 -0
- package/dist/{CommentsPlugin.native-tMnWn8a2.mjs → CommentsPlugin.native-DPSqTkiv.mjs} +153 -135
- package/dist/ConditionalContentPlugin.native-CfhY46rU.mjs +1367 -0
- package/dist/ContentRulesPlugin.native-nBLQ8QFZ.mjs +1099 -0
- package/dist/DataBindingPlugin.native-jQ1JPRTp.mjs +917 -0
- package/dist/DocSchemaPlugin.native-CHOge18O.mjs +1325 -0
- package/dist/{DocumentManagerPlugin.native-BvZL5CSG.mjs → DocumentManagerPlugin.native-C2cs_1w4.mjs} +43 -43
- package/dist/{EmbedIframePlugin.native-CSWIB1jm.mjs → EmbedIframePlugin.native-DKJx2OS7.mjs} +61 -58
- package/dist/{EmojisPlugin.native-DxTm_DL-.mjs → EmojisPlugin.native-CitxxlWX.mjs} +135 -104
- package/dist/{LinkPlugin.native-CS2g-G18.mjs → LinkPlugin.native-DYCIcdTm.mjs} +47 -45
- package/dist/{MathPlugin.native-KUxz0o8C.mjs → MathPlugin.native-f_mDp8VL.mjs} +149 -108
- package/dist/{MediaManagerPlugin.native-CgP5iInD.mjs → MediaManagerPlugin.native-BiXiK8FC.mjs} +238 -217
- package/dist/MentionPlugin.native-BMDlOqur.mjs +734 -0
- package/dist/MergeTagPlugin.native-C3eOfEgw.mjs +559 -0
- package/dist/PIIRedactionPlugin.native-DcsjmtV1.mjs +1396 -0
- package/dist/{PageBreakPlugin.native-CGiQxXqR.mjs → PageBreakPlugin.native-DijGuHJZ.mjs} +86 -77
- package/dist/{PreviewPlugin.native-DBvfpmIv.mjs → PreviewPlugin.native-WuIwOAOR.mjs} +30 -30
- package/dist/SlashCommandsPlugin.native-CmxvMEaE.mjs +755 -0
- package/dist/SmartPastePlugin.native-BOKKtF07.mjs +1398 -0
- package/dist/{SpecialCharactersPlugin.native-DANrbExJ.mjs → SpecialCharactersPlugin.native-CZDato89.mjs} +143 -98
- package/dist/{SpellCheckPlugin.native-C8bPvRHy.mjs → SpellCheckPlugin.native-BZB9AewP.mjs} +239 -219
- package/dist/{TemplatePlugin.native-4lKEm-WY.mjs → TemplatePlugin.native-CrpfKRJ8.mjs} +167 -143
- package/dist/{TextColorPlugin.native-Clgtb50j.mjs → TextColorPlugin.native-Bwl_bSmc.mjs} +134 -118
- package/dist/TrackChangesPlugin.native-Bghu2q4a.mjs +761 -0
- package/dist/TranslationWorkflowPlugin.native-Bz6jDGvj.mjs +1728 -0
- package/dist/VersionDiffPlugin.native-Bvxgy--t.mjs +776 -0
- package/dist/_commonjsHelpers-DOllISpa.mjs +32 -0
- package/dist/anchoredPopover-Bxds0VoB.mjs +110 -0
- package/dist/documentManager-vQ1VkbUY.mjs +8418 -0
- package/dist/editora.min.js +13 -13
- package/dist/editora.umd.js +13 -13
- package/dist/html2canvas.esm-AYkPY5LS.mjs +4803 -0
- package/dist/index-BslAFzmv.mjs +16544 -0
- package/dist/index-D1LOqg5C.js +10 -0
- package/dist/{index-OwnkG39N.mjs → index-DqC57IEH.mjs} +438 -328
- package/dist/index.cjs.js +1 -1
- package/dist/{index.es-CuicffkQ.mjs → index.es-BYD2KEo6.mjs} +5 -4
- package/dist/index.esm.js +2 -2
- package/dist/jspdf.es.min-BJGtOnRT.mjs +7890 -0
- package/dist/plugin-loader.js +77 -40
- package/dist/webcomponent-core.js +456 -346
- package/dist/webcomponent-core.min.css +1 -1
- package/dist/webcomponent-core.min.js +87 -107
- package/dist/webcomponent.cjs.js +1 -1
- package/dist/webcomponent.esm.js +1 -1
- package/dist/webcomponent.js +503 -356
- package/dist/webcomponent.min.css +1 -1
- package/dist/webcomponent.min.js +6003 -658
- package/package.json +2 -2
- package/dist/CodePlugin.native-B263UI8O.mjs +0 -2173
- package/dist/MergeTagPlugin.native-DIGWhdnF.mjs +0 -419
- package/dist/colorSelectionApply-CK1My9N2.mjs +0 -67
- package/dist/documentManager-irzj9n3V.mjs +0 -37627
- package/dist/index-CqWQFb3D.js +0 -10
package/dist/plugin-loader.js
CHANGED
|
@@ -1,55 +1,92 @@
|
|
|
1
1
|
const r = {
|
|
2
|
-
codeSample: () => import("./CodeSamplePlugin.native-CgGoH-X4.mjs").then((
|
|
3
|
-
checklist: () => import("./ChecklistPlugin.native-nuSSEFNI.mjs").then((
|
|
4
|
-
textAlignment: () => import("./TextAlignmentPlugin.native-sM_1s00t.mjs").then((
|
|
5
|
-
indent: () => import("./IndentPlugin.native-BHixp8sP.mjs").then((
|
|
6
|
-
direction: () => import("./DirectionPlugin.native-CDnbdNyl.mjs").then((
|
|
7
|
-
textColor: () => import("./TextColorPlugin.native-
|
|
8
|
-
backgroundColor: () => import("./BackgroundColorPlugin.native-
|
|
9
|
-
fontSize: () => import("./FontSizePlugin.native-B_jCh7dY.mjs").then((
|
|
10
|
-
fontFamily: () => import("./FontFamilyPlugin.native-j8hMTbg4.mjs").then((
|
|
11
|
-
lineHeight: () => import("./LineHeightPlugin.native-CM7iXdQj.mjs").then((
|
|
12
|
-
capitalization: () => import("./CapitalizationPlugin.native-DOMsh5R7.mjs").then((
|
|
13
|
-
link: () => import("./LinkPlugin.native-
|
|
14
|
-
table: () => import("./TablePlugin.native-DrHX-efe.mjs").then((
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
2
|
+
codeSample: () => import("./CodeSamplePlugin.native-CgGoH-X4.mjs").then((n) => n.CodeSamplePlugin()),
|
|
3
|
+
checklist: () => import("./ChecklistPlugin.native-nuSSEFNI.mjs").then((n) => n.ChecklistPlugin()),
|
|
4
|
+
textAlignment: () => import("./TextAlignmentPlugin.native-sM_1s00t.mjs").then((n) => n.TextAlignmentPlugin()),
|
|
5
|
+
indent: () => import("./IndentPlugin.native-BHixp8sP.mjs").then((n) => n.IndentPlugin()),
|
|
6
|
+
direction: () => import("./DirectionPlugin.native-CDnbdNyl.mjs").then((n) => n.DirectionPlugin()),
|
|
7
|
+
textColor: () => import("./TextColorPlugin.native-Bwl_bSmc.mjs").then((n) => n.TextColorPlugin()),
|
|
8
|
+
backgroundColor: () => import("./BackgroundColorPlugin.native-50iAT9xU.mjs").then((n) => n.BackgroundColorPlugin()),
|
|
9
|
+
fontSize: () => import("./FontSizePlugin.native-B_jCh7dY.mjs").then((n) => n.FontSizePlugin()),
|
|
10
|
+
fontFamily: () => import("./FontFamilyPlugin.native-j8hMTbg4.mjs").then((n) => n.FontFamilyPlugin()),
|
|
11
|
+
lineHeight: () => import("./LineHeightPlugin.native-CM7iXdQj.mjs").then((n) => n.LineHeightPlugin()),
|
|
12
|
+
capitalization: () => import("./CapitalizationPlugin.native-DOMsh5R7.mjs").then((n) => n.CapitalizationPlugin()),
|
|
13
|
+
link: () => import("./LinkPlugin.native-DYCIcdTm.mjs").then((n) => n.LinkPlugin()),
|
|
14
|
+
table: () => import("./TablePlugin.native-DrHX-efe.mjs").then((n) => n.TablePlugin()),
|
|
15
|
+
trackChanges: () => import("./TrackChangesPlugin.native-Bghu2q4a.mjs").then((n) => n.TrackChangesPlugin()),
|
|
16
|
+
versionDiff: () => import("./VersionDiffPlugin.native-Bvxgy--t.mjs").then((n) => n.VersionDiffPlugin()),
|
|
17
|
+
"version-diff": () => import("./VersionDiffPlugin.native-Bvxgy--t.mjs").then((n) => n.VersionDiffPlugin()),
|
|
18
|
+
versiondiff: () => import("./VersionDiffPlugin.native-Bvxgy--t.mjs").then((n) => n.VersionDiffPlugin()),
|
|
19
|
+
conditionalContent: () => import("./ConditionalContentPlugin.native-CfhY46rU.mjs").then((n) => n.ConditionalContentPlugin()),
|
|
20
|
+
"conditional-content": () => import("./ConditionalContentPlugin.native-CfhY46rU.mjs").then((n) => n.ConditionalContentPlugin()),
|
|
21
|
+
conditionalcontent: () => import("./ConditionalContentPlugin.native-CfhY46rU.mjs").then((n) => n.ConditionalContentPlugin()),
|
|
22
|
+
dataBinding: () => import("./DataBindingPlugin.native-jQ1JPRTp.mjs").then((n) => n.DataBindingPlugin()),
|
|
23
|
+
"data-binding": () => import("./DataBindingPlugin.native-jQ1JPRTp.mjs").then((n) => n.DataBindingPlugin()),
|
|
24
|
+
databinding: () => import("./DataBindingPlugin.native-jQ1JPRTp.mjs").then((n) => n.DataBindingPlugin()),
|
|
25
|
+
docSchema: () => import("./DocSchemaPlugin.native-CHOge18O.mjs").then((n) => n.DocSchemaPlugin()),
|
|
26
|
+
"doc-schema": () => import("./DocSchemaPlugin.native-CHOge18O.mjs").then((n) => n.DocSchemaPlugin()),
|
|
27
|
+
docschema: () => import("./DocSchemaPlugin.native-CHOge18O.mjs").then((n) => n.DocSchemaPlugin()),
|
|
28
|
+
translationWorkflow: () => import("./TranslationWorkflowPlugin.native-Bz6jDGvj.mjs").then((n) => n.TranslationWorkflowPlugin()),
|
|
29
|
+
"translation-workflow": () => import("./TranslationWorkflowPlugin.native-Bz6jDGvj.mjs").then((n) => n.TranslationWorkflowPlugin()),
|
|
30
|
+
translationworkflow: () => import("./TranslationWorkflowPlugin.native-Bz6jDGvj.mjs").then((n) => n.TranslationWorkflowPlugin()),
|
|
31
|
+
contentRules: () => import("./ContentRulesPlugin.native-nBLQ8QFZ.mjs").then((n) => n.ContentRulesPlugin()),
|
|
32
|
+
"content-rules": () => import("./ContentRulesPlugin.native-nBLQ8QFZ.mjs").then((n) => n.ContentRulesPlugin()),
|
|
33
|
+
contentrules: () => import("./ContentRulesPlugin.native-nBLQ8QFZ.mjs").then((n) => n.ContentRulesPlugin()),
|
|
34
|
+
citations: () => import("./CitationsPlugin.native-BnU0qCwR.mjs").then((n) => n.CitationsPlugin()),
|
|
35
|
+
citation: () => import("./CitationsPlugin.native-BnU0qCwR.mjs").then((n) => n.CitationsPlugin()),
|
|
36
|
+
approvalWorkflow: () => import("./ApprovalWorkflowPlugin.native-C3jtAYjG.mjs").then((n) => n.ApprovalWorkflowPlugin()),
|
|
37
|
+
"approval-workflow": () => import("./ApprovalWorkflowPlugin.native-C3jtAYjG.mjs").then((n) => n.ApprovalWorkflowPlugin()),
|
|
38
|
+
approvalworkflow: () => import("./ApprovalWorkflowPlugin.native-C3jtAYjG.mjs").then((n) => n.ApprovalWorkflowPlugin()),
|
|
39
|
+
piiRedaction: () => import("./PIIRedactionPlugin.native-DcsjmtV1.mjs").then((n) => n.PIIRedactionPlugin()),
|
|
40
|
+
"pii-redaction": () => import("./PIIRedactionPlugin.native-DcsjmtV1.mjs").then((n) => n.PIIRedactionPlugin()),
|
|
41
|
+
piiredaction: () => import("./PIIRedactionPlugin.native-DcsjmtV1.mjs").then((n) => n.PIIRedactionPlugin()),
|
|
42
|
+
smartPaste: () => import("./SmartPastePlugin.native-BOKKtF07.mjs").then((n) => n.SmartPastePlugin()),
|
|
43
|
+
"smart-paste": () => import("./SmartPastePlugin.native-BOKKtF07.mjs").then((n) => n.SmartPastePlugin()),
|
|
44
|
+
smartpaste: () => import("./SmartPastePlugin.native-BOKKtF07.mjs").then((n) => n.SmartPastePlugin()),
|
|
45
|
+
blocksLibrary: () => import("./BlocksLibraryPlugin.native-HMWKxWNs.mjs").then((n) => n.BlocksLibraryPlugin()),
|
|
46
|
+
"blocks-library": () => import("./BlocksLibraryPlugin.native-HMWKxWNs.mjs").then((n) => n.BlocksLibraryPlugin()),
|
|
47
|
+
blockslibrary: () => import("./BlocksLibraryPlugin.native-HMWKxWNs.mjs").then((n) => n.BlocksLibraryPlugin()),
|
|
48
|
+
mentions: () => import("./MentionPlugin.native-BMDlOqur.mjs").then((n) => n.MentionPlugin()),
|
|
49
|
+
mention: () => import("./MentionPlugin.native-BMDlOqur.mjs").then((n) => n.MentionPlugin()),
|
|
50
|
+
anchor: () => import("./AnchorPlugin.native-BcYGEtd9.mjs").then((n) => n.AnchorPlugin()),
|
|
51
|
+
embedIframe: () => import("./EmbedIframePlugin.native-DKJx2OS7.mjs").then((n) => n.EmbedIframePlugin()),
|
|
52
|
+
math: () => import("./MathPlugin.native-f_mDp8VL.mjs").then((n) => n.MathPlugin()),
|
|
53
|
+
image: () => import("./MediaManagerPlugin.native-BiXiK8FC.mjs").then((n) => n.MediaManagerPlugin()),
|
|
54
|
+
mergeTag: () => import("./MergeTagPlugin.native-C3eOfEgw.mjs").then((n) => n.MergeTagPlugin()),
|
|
55
|
+
pageBreak: () => import("./PageBreakPlugin.native-DijGuHJZ.mjs").then((n) => n.PageBreakPlugin()),
|
|
56
|
+
print: () => import("./PrintPlugin.native-7qt5v7L5.mjs").then((n) => n.PrintPlugin()),
|
|
57
|
+
preview: () => import("./PreviewPlugin.native-WuIwOAOR.mjs").then((n) => n.PreviewPlugin()),
|
|
58
|
+
specialCharacters: () => import("./SpecialCharactersPlugin.native-CZDato89.mjs").then((n) => n.SpecialCharactersPlugin()),
|
|
59
|
+
slashCommands: () => import("./SlashCommandsPlugin.native-CmxvMEaE.mjs").then((n) => n.SlashCommandsPlugin()),
|
|
60
|
+
"slash-commands": () => import("./SlashCommandsPlugin.native-CmxvMEaE.mjs").then((n) => n.SlashCommandsPlugin()),
|
|
61
|
+
spellCheck: () => import("./SpellCheckPlugin.native-BZB9AewP.mjs").then((n) => n.SpellCheckPlugin()),
|
|
62
|
+
emojis: () => import("./EmojisPlugin.native-CitxxlWX.mjs").then((n) => n.EmojisPlugin()),
|
|
63
|
+
a11yChecker: () => import("./A11yCheckerPlugin.native-BRdGYMju.mjs").then((n) => n.A11yCheckerPlugin()),
|
|
64
|
+
comments: () => import("./CommentsPlugin.native-DPSqTkiv.mjs").then((n) => n.CommentsPlugin()),
|
|
65
|
+
"document-manager": () => import("./DocumentManagerPlugin.native-C2cs_1w4.mjs").then((n) => n.DocumentManagerPlugin()),
|
|
66
|
+
fullscreen: () => import("./FullscreenPlugin.native-ChXyxeNw.mjs").then((n) => n.FullscreenPlugin()),
|
|
67
|
+
template: () => import("./TemplatePlugin.native-CrpfKRJ8.mjs").then((n) => n.TemplatePlugin()),
|
|
68
|
+
footnote: () => import("./FootnotePlugin.native-D730OGRm.mjs").then((n) => n.FootnotePlugin())
|
|
32
69
|
};
|
|
33
|
-
async function a(
|
|
34
|
-
var
|
|
35
|
-
const
|
|
36
|
-
if (!
|
|
70
|
+
async function a(n) {
|
|
71
|
+
var i, o;
|
|
72
|
+
const t = ((i = window.EditoraCore) == null ? void 0 : i.__globalPluginLoader) || ((o = window.Editora) == null ? void 0 : o.__globalPluginLoader);
|
|
73
|
+
if (!t) {
|
|
37
74
|
console.warn("Editora plugin loader not found. Make sure to load the core bundle first.");
|
|
38
75
|
return;
|
|
39
76
|
}
|
|
40
|
-
Object.entries(r).forEach(([
|
|
41
|
-
|
|
42
|
-
}), await
|
|
77
|
+
Object.entries(r).forEach(([e, l]) => {
|
|
78
|
+
t.getRegisteredPluginNames().includes(e) || t.register(e, l);
|
|
79
|
+
}), await t.loadMultiple(n);
|
|
43
80
|
}
|
|
44
|
-
function
|
|
81
|
+
function m() {
|
|
45
82
|
return Object.keys(r);
|
|
46
83
|
}
|
|
47
84
|
typeof window != "undefined" && (window.EditoraPlugins = {
|
|
48
85
|
loadPlugins: a,
|
|
49
|
-
getAvailablePlugins:
|
|
86
|
+
getAvailablePlugins: m
|
|
50
87
|
});
|
|
51
88
|
export {
|
|
52
|
-
|
|
89
|
+
m as getAvailablePlugins,
|
|
53
90
|
a as loadPlugins
|
|
54
91
|
};
|
|
55
92
|
//# sourceMappingURL=plugin-loader.js.map
|