@editora/core 1.0.19 → 1.0.21
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/dist/{A11yCheckerPlugin.native-DIKuCeFw.mjs → A11yCheckerPlugin.native-qW_njhLY.mjs} +2 -2
- package/dist/{AnchorPlugin.native-DXZdK3zr.mjs → AnchorPlugin.native-Drmxhy98.mjs} +37 -37
- package/dist/{BlockquotePlugin.native-57_Xcjl1.mjs → BlockquotePlugin.native-D8jjGd0c.mjs} +19 -19
- package/dist/{CapitalizationPlugin.native-C-HRbXGh.mjs → CapitalizationPlugin.native-Mh-kUy-x.mjs} +17 -17
- package/dist/{ChecklistPlugin.native-NVrBUkaL.mjs → ChecklistPlugin.native-DLedNLsb.mjs} +31 -31
- package/dist/{CodePlugin.native-BcVqm5MS.mjs → CodePlugin.native-AoJ_idGz.mjs} +5 -5
- package/dist/{CodePlugin.native-Rgxx2Igx.mjs → CodePlugin.native-CEgR1DWC.mjs} +5 -5
- package/dist/{CollaborationPlugin.native-oSybCGPW.mjs → CollaborationPlugin.native-Bl3R9CRI.mjs} +1406 -1295
- package/dist/{CommentsPlugin.native-CLip9wAO.mjs → CommentsPlugin.native-DncTHiEe.mjs} +2 -2
- package/dist/{DirectionPlugin.native-Bl-QLFzO.mjs → DirectionPlugin.native-B-Zj-EAt.mjs} +33 -33
- package/dist/{FontFamilyPlugin.native-M3cNQ0KA.mjs → FontFamilyPlugin.native-DLq9x046.mjs} +32 -32
- package/dist/{PreviewPlugin.native-Dyht8mGi.mjs → PreviewPlugin.native-Dv5OsffK.mjs} +4 -4
- package/dist/{SpellCheckPlugin.native-Bef2oTLB.mjs → SpellCheckPlugin.native-BGm2qPfn.mjs} +20 -20
- package/dist/{TemplatePlugin.native-BDV2eik2.mjs → TemplatePlugin.native-Dwk8TgxI.mjs} +32 -32
- package/dist/editora.min.js +3 -3
- package/dist/editora.umd.js +5 -5
- package/dist/{index-DeUjxpKd.mjs → index-6i4_TH66.mjs} +136 -133
- package/dist/{index-CclXYzUB.js → index-Ct3Aik7_.js} +3 -3
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +2 -2
- package/dist/plugin-loader.js +11 -11
- package/dist/webcomponent-core.js +154 -151
- package/dist/webcomponent-core.min.js +19 -19
- package/dist/webcomponent.cjs.js +1 -1
- package/dist/webcomponent.esm.js +1 -1
- package/dist/webcomponent.js +34 -31
- package/dist/webcomponent.min.js +212 -212
- package/package.json +1 -1
|
@@ -101,7 +101,7 @@ class W {
|
|
|
101
101
|
}
|
|
102
102
|
class X {
|
|
103
103
|
constructor(e) {
|
|
104
|
-
this.gutterWidth = 50, this.gutterFoldColumnWidth =
|
|
104
|
+
this.gutterWidth = 50, this.gutterFoldColumnWidth = 24, this.gutterFoldColumnGap = 4, this.gutterLineNumberPaddingLeft = 8, this.gutterLineNumberPaddingRight = 4, this.gutterDigitWidth = 9, this.lineHeight = 24, this.trailingNewlineMarkerAttr = "data-lce-trailing-newline-marker", this.foldPlaceholderAttr = "data-lce-fold-placeholder", this.virtualMarkerRegex = /[\u200B\uE000]/, this.virtualMarkerGlobalRegex = /[\u200B\uE000]/g, this.lastLineCount = 0, this.lastHighlightHTML = "", this.highlightOverlayActive = !1, this.lastLineDecorationSnapshot = "", this.lastGutterDecorationSnapshot = "", this.container = e, this.createDOM();
|
|
105
105
|
}
|
|
106
106
|
createDOM() {
|
|
107
107
|
this.container.innerHTML = "";
|
|
@@ -2831,7 +2831,7 @@ class oe {
|
|
|
2831
2831
|
}
|
|
2832
2832
|
class le {
|
|
2833
2833
|
constructor() {
|
|
2834
|
-
this.name = "code-folding", this.lineHeight =
|
|
2834
|
+
this.name = "code-folding", this.lineHeight = 24, this.voidMarkupTags = /* @__PURE__ */ new Set([
|
|
2835
2835
|
"area",
|
|
2836
2836
|
"base",
|
|
2837
2837
|
"br",
|
|
@@ -2909,7 +2909,7 @@ class le {
|
|
|
2909
2909
|
right: 0;
|
|
2910
2910
|
top: 0;
|
|
2911
2911
|
bottom: 0;
|
|
2912
|
-
width:
|
|
2912
|
+
width: 24px;
|
|
2913
2913
|
pointer-events: none;
|
|
2914
2914
|
z-index: 3;
|
|
2915
2915
|
`, e.appendChild(this.foldingUI));
|
|
@@ -3137,7 +3137,7 @@ class le {
|
|
|
3137
3137
|
position: absolute;
|
|
3138
3138
|
left: 0;
|
|
3139
3139
|
top: ${t * this.lineHeight}px;
|
|
3140
|
-
width:
|
|
3140
|
+
width: 24px;
|
|
3141
3141
|
height: ${this.lineHeight}px;
|
|
3142
3142
|
display: flex;
|
|
3143
3143
|
align-items: center;
|
|
@@ -4728,4 +4728,4 @@ const P = '[data-theme="dark"], .dark, .editora-theme-dark', ce = `/* Source Edi
|
|
|
4728
4728
|
export {
|
|
4729
4729
|
ge as CodePlugin
|
|
4730
4730
|
};
|
|
4731
|
-
//# sourceMappingURL=CodePlugin.native-
|
|
4731
|
+
//# sourceMappingURL=CodePlugin.native-AoJ_idGz.mjs.map
|
|
@@ -135,7 +135,7 @@ class Ot {
|
|
|
135
135
|
}
|
|
136
136
|
class Qn {
|
|
137
137
|
constructor(e) {
|
|
138
|
-
this.gutterWidth = 50, this.gutterFoldColumnWidth =
|
|
138
|
+
this.gutterWidth = 50, this.gutterFoldColumnWidth = 24, this.gutterFoldColumnGap = 4, this.gutterLineNumberPaddingLeft = 8, this.gutterLineNumberPaddingRight = 4, this.gutterDigitWidth = 9, this.lineHeight = 24, this.trailingNewlineMarkerAttr = "data-lce-trailing-newline-marker", this.foldPlaceholderAttr = "data-lce-fold-placeholder", this.virtualMarkerRegex = /[\u200B\uE000]/, this.virtualMarkerGlobalRegex = /[\u200B\uE000]/g, this.lastLineCount = 0, this.lastHighlightHTML = "", this.highlightOverlayActive = !1, this.lastLineDecorationSnapshot = "", this.lastGutterDecorationSnapshot = "", this.container = e, this.createDOM();
|
|
139
139
|
}
|
|
140
140
|
createDOM() {
|
|
141
141
|
this.container.innerHTML = "";
|
|
@@ -2865,7 +2865,7 @@ class oi {
|
|
|
2865
2865
|
}
|
|
2866
2866
|
class ai {
|
|
2867
2867
|
constructor() {
|
|
2868
|
-
this.name = "code-folding", this.lineHeight =
|
|
2868
|
+
this.name = "code-folding", this.lineHeight = 24, this.voidMarkupTags = /* @__PURE__ */ new Set([
|
|
2869
2869
|
"area",
|
|
2870
2870
|
"base",
|
|
2871
2871
|
"br",
|
|
@@ -2943,7 +2943,7 @@ class ai {
|
|
|
2943
2943
|
right: 0;
|
|
2944
2944
|
top: 0;
|
|
2945
2945
|
bottom: 0;
|
|
2946
|
-
width:
|
|
2946
|
+
width: 24px;
|
|
2947
2947
|
pointer-events: none;
|
|
2948
2948
|
z-index: 3;
|
|
2949
2949
|
`, e.appendChild(this.foldingUI));
|
|
@@ -3171,7 +3171,7 @@ class ai {
|
|
|
3171
3171
|
position: absolute;
|
|
3172
3172
|
left: 0;
|
|
3173
3173
|
top: ${t * this.lineHeight}px;
|
|
3174
|
-
width:
|
|
3174
|
+
width: 24px;
|
|
3175
3175
|
height: ${this.lineHeight}px;
|
|
3176
3176
|
display: flex;
|
|
3177
3177
|
align-items: center;
|
|
@@ -6247,4 +6247,4 @@ const Et = '[data-theme="dark"], .dark, .editora-theme-dark', ji = `/* Source Ed
|
|
|
6247
6247
|
export {
|
|
6248
6248
|
Gi as CodePlugin
|
|
6249
6249
|
};
|
|
6250
|
-
//# sourceMappingURL=CodePlugin.native-
|
|
6250
|
+
//# sourceMappingURL=CodePlugin.native-CEgR1DWC.mjs.map
|