smart-editor-v3 1.8.4 → 1.8.5
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.
|
@@ -37637,7 +37637,7 @@ const ER = new St(
|
|
|
37637
37637
|
}
|
|
37638
37638
|
};
|
|
37639
37639
|
}
|
|
37640
|
-
}), L6 = ["table", "orderedList", "bulletList", "section"], OR = ["iframe", "file", "gallery", "video", "audio", "recorder", "paper", "read"], DR = ht.create({
|
|
37640
|
+
}), L6 = ["table", "orderedList", "bulletList", "section"], OR = ["iframe", "file", "gallery", "video", "audio", "recorder", "paper", "read", "codeBlock"], DR = ht.create({
|
|
37641
37641
|
name: "selection",
|
|
37642
37642
|
addProseMirrorPlugins() {
|
|
37643
37643
|
const { editor: n } = this;
|
|
@@ -40380,7 +40380,6 @@ function cp({ history: n }) {
|
|
|
40380
40380
|
return [
|
|
40381
40381
|
x6,
|
|
40382
40382
|
C6,
|
|
40383
|
-
// GlobalDragHandle,
|
|
40384
40383
|
HL,
|
|
40385
40384
|
VL,
|
|
40386
40385
|
VI,
|
|
@@ -54267,7 +54266,7 @@ const tU = {
|
|
|
54267
54266
|
}, zU = { class: "smart-text-align-group" }, HU = {
|
|
54268
54267
|
__name: "align-dropdown",
|
|
54269
54268
|
setup(n) {
|
|
54270
|
-
const { popupVisible: e, togglePopup: t } = Jn(), { editor: r } = de(), i = Ye(() => !r.value || r.value.isActive({ textAlign: "
|
|
54269
|
+
const { popupVisible: e, togglePopup: t } = Jn(), { editor: r } = de(), i = Ye(() => !r.value || r.value.isActive({ textAlign: "left" }) ? "left" : r.value.isActive({ textAlign: "center" }) ? "center" : r.value.isActive({ textAlign: "right" }) ? "right" : r.value.isActive({ textAlign: "justify" }) ? "justify" : "left");
|
|
54271
54270
|
return (o, s) => {
|
|
54272
54271
|
var f;
|
|
54273
54272
|
const a = FU, l = $U, c = PU, u = BU, d = Ie;
|
|
@@ -57329,7 +57328,7 @@ const pj = {
|
|
|
57329
57328
|
}, Ij = { class: "smart-text-align-group" }, Lj = {
|
|
57330
57329
|
__name: "align-dropdown",
|
|
57331
57330
|
setup(n) {
|
|
57332
|
-
const { popupVisible: e, togglePopup: t } = Jn(), { editor: r } = Ke(), i = Ye(() => !r.value || r.value.isActive({ textAlign: "
|
|
57331
|
+
const { popupVisible: e, togglePopup: t } = Jn(), { editor: r } = Ke(), i = Ye(() => !r.value || r.value.isActive({ textAlign: "left" }) ? "left" : r.value.isActive({ textAlign: "center" }) ? "center" : r.value.isActive({ textAlign: "right" }) ? "right" : r.value.isActive({ textAlign: "justify" }) ? "justify" : "left");
|
|
57333
57332
|
return (o, s) => {
|
|
57334
57333
|
var f;
|
|
57335
57334
|
const a = Dj, l = Oj, c = Nj, u = Mj, d = et;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "smart-editor-v3",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.8.
|
|
4
|
+
"version": "1.8.5",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
7
7
|
"import": "./dist/smart-editor-package.js"
|
|
@@ -74,9 +74,7 @@
|
|
|
74
74
|
"@tiptap-pro/extension-details": "^2.11.9",
|
|
75
75
|
"@tiptap-pro/extension-details-content": "^2.11.9",
|
|
76
76
|
"@tiptap-pro/extension-details-summary": "^2.11.9",
|
|
77
|
-
"@tiptap-pro/extension-drag-handle": "^2.11.9",
|
|
78
77
|
"@tiptap-pro/extension-mathematics": "^2.11.3",
|
|
79
|
-
"@tiptap-pro/extension-node-range": "^2.11.9",
|
|
80
78
|
"@tiptap-pro/extension-table-of-contents": "^2.11.3",
|
|
81
79
|
"@unocss/eslint-config": "^0.62.3",
|
|
82
80
|
"@unocss/eslint-plugin": "^0.62.3",
|