@tinymce/tinymce-vue 6.3.0 → 6.3.1-alpha.20260312015516537.sha1d85840
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.
|
@@ -347,6 +347,8 @@ var Editor = (function (vue) {
|
|
|
347
347
|
cache = vueEditor.getContent();
|
|
348
348
|
}
|
|
349
349
|
(_a = getTinymce()) === null || _a === void 0 ? void 0 : _a.remove(vueEditor);
|
|
350
|
+
// The Vue docs state you can either use the callback form or await it. Ref: https://vuejs.org/api/general.html#nexttick
|
|
351
|
+
// eslint-disable-next-line @typescript-eslint/no-floating-promises
|
|
350
352
|
vue.nextTick(function () { return initWrapper(); });
|
|
351
353
|
}
|
|
352
354
|
});
|
|
@@ -390,6 +392,8 @@ var Editor = (function (vue) {
|
|
|
390
392
|
cache = vueEditor.getContent();
|
|
391
393
|
(_a = getTinymce()) === null || _a === void 0 ? void 0 : _a.remove(vueEditor);
|
|
392
394
|
conf = __assign(__assign(__assign({}, conf), init), defaultInitValues);
|
|
395
|
+
// The Vue docs state you can either use the callback form or await it. Ref: https://vuejs.org/api/general.html#nexttick
|
|
396
|
+
// eslint-disable-next-line @typescript-eslint/no-floating-promises
|
|
393
397
|
vue.nextTick(function () { return initWrapper(); });
|
|
394
398
|
}
|
|
395
399
|
};
|
|
@@ -104,6 +104,8 @@ exports.Editor = (0, vue_1.defineComponent)({
|
|
|
104
104
|
cache = vueEditor.getContent();
|
|
105
105
|
}
|
|
106
106
|
(_a = (0, TinyMCE_1.getTinymce)()) === null || _a === void 0 ? void 0 : _a.remove(vueEditor);
|
|
107
|
+
// The Vue docs state you can either use the callback form or await it. Ref: https://vuejs.org/api/general.html#nexttick
|
|
108
|
+
// eslint-disable-next-line @typescript-eslint/no-floating-promises
|
|
107
109
|
(0, vue_1.nextTick)(function () { return initWrapper(); });
|
|
108
110
|
}
|
|
109
111
|
});
|
|
@@ -147,6 +149,8 @@ exports.Editor = (0, vue_1.defineComponent)({
|
|
|
147
149
|
cache = vueEditor.getContent();
|
|
148
150
|
(_a = (0, TinyMCE_1.getTinymce)()) === null || _a === void 0 ? void 0 : _a.remove(vueEditor);
|
|
149
151
|
conf = __assign(__assign(__assign({}, conf), init), defaultInitValues);
|
|
152
|
+
// The Vue docs state you can either use the callback form or await it. Ref: https://vuejs.org/api/general.html#nexttick
|
|
153
|
+
// eslint-disable-next-line @typescript-eslint/no-floating-promises
|
|
150
154
|
(0, vue_1.nextTick)(function () { return initWrapper(); });
|
|
151
155
|
}
|
|
152
156
|
};
|
|
@@ -101,6 +101,8 @@ export var Editor = defineComponent({
|
|
|
101
101
|
cache = vueEditor.getContent();
|
|
102
102
|
}
|
|
103
103
|
(_a = getTinymce()) === null || _a === void 0 ? void 0 : _a.remove(vueEditor);
|
|
104
|
+
// The Vue docs state you can either use the callback form or await it. Ref: https://vuejs.org/api/general.html#nexttick
|
|
105
|
+
// eslint-disable-next-line @typescript-eslint/no-floating-promises
|
|
104
106
|
nextTick(function () { return initWrapper(); });
|
|
105
107
|
}
|
|
106
108
|
});
|
|
@@ -144,6 +146,8 @@ export var Editor = defineComponent({
|
|
|
144
146
|
cache = vueEditor.getContent();
|
|
145
147
|
(_a = getTinymce()) === null || _a === void 0 ? void 0 : _a.remove(vueEditor);
|
|
146
148
|
conf = __assign(__assign(__assign({}, conf), init), defaultInitValues);
|
|
149
|
+
// The Vue docs state you can either use the callback form or await it. Ref: https://vuejs.org/api/general.html#nexttick
|
|
150
|
+
// eslint-disable-next-line @typescript-eslint/no-floating-promises
|
|
147
151
|
nextTick(function () { return initWrapper(); });
|
|
148
152
|
}
|
|
149
153
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tinymce/tinymce-vue",
|
|
3
|
-
"version": "6.3.
|
|
3
|
+
"version": "6.3.1-alpha.20260312015516537.sha1d85840",
|
|
4
4
|
"description": "Official TinyMCE Vue 3 Component",
|
|
5
5
|
"private": false,
|
|
6
6
|
"repository": {
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@babel/core": "^7.20.2",
|
|
46
46
|
"@ephox/agar": "^8.0.1",
|
|
47
|
-
"@ephox/bedrock-client": "^14.
|
|
48
|
-
"@ephox/bedrock-server": "^14.
|
|
47
|
+
"@ephox/bedrock-client": "^14.0.0",
|
|
48
|
+
"@ephox/bedrock-server": "^14.0.0",
|
|
49
49
|
"@ephox/katamari": "^9.1.6",
|
|
50
50
|
"@ephox/sugar": "^9.3.1",
|
|
51
51
|
"@storybook/addon-actions": "^6.5.13",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"@storybook/manager-webpack5": "^6.5.16",
|
|
57
57
|
"@storybook/vue3": "^6.5.13",
|
|
58
58
|
"@tinymce/beehive-flow": "^0.19.0",
|
|
59
|
-
"@tinymce/eslint-plugin": "^
|
|
59
|
+
"@tinymce/eslint-plugin": "^3.0.0",
|
|
60
60
|
"@tinymce/miniature": "^6.0.0",
|
|
61
61
|
"@types/node": "^20.14.0",
|
|
62
62
|
"@vitejs/plugin-vue": "^5.0.5",
|