@keyblade/tinymce-editor-vue2 1.2.2 → 1.2.3
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/es/editor.vue2.js +3 -2
- package/package.json +1 -1
package/es/editor.vue2.js
CHANGED
|
@@ -482,7 +482,7 @@ const Ra = /* @__PURE__ */ $e({
|
|
|
482
482
|
var t, r;
|
|
483
483
|
const l = (r = (t = v == null ? void 0 : v.value) == null ? void 0 : t.handlerResponse) == null ? void 0 : r.call(t, o);
|
|
484
484
|
let n;
|
|
485
|
-
l instanceof Promise ? yield l : n = l, n != null && n.url ? a[a.length - 1].url = n.url : n != null && n.errorMessage && (b.error(n.errorMessage), a.splice(a.length - 1, 1)), w.value.formData.file = a;
|
|
485
|
+
l instanceof Promise ? n = yield l : n = l, n != null && n.url ? a[a.length - 1].url = n.url : n != null && n.errorMessage && (b.error(n.errorMessage), a.splice(a.length - 1, 1)), w.value.formData.file = a;
|
|
486
486
|
}), _e = (o, e) => new Promise((a, l) => {
|
|
487
487
|
var t, r, d, y, f, C, h, U;
|
|
488
488
|
const n = o.name.split(".").filter(Boolean).pop() ? o.name.split(".").filter(Boolean).pop() : "";
|
|
@@ -509,9 +509,10 @@ const Ra = /* @__PURE__ */ $e({
|
|
|
509
509
|
return ((a = (e = u.value) == null ? void 0 : e.headers) == null ? void 0 : a.call(e, B(D({}, o), { extParameters: i.extParameters }))) || {};
|
|
510
510
|
}, Ie = (o, e, a) => F(this, null, function* () {
|
|
511
511
|
var t, r;
|
|
512
|
+
debugger;
|
|
512
513
|
const l = (r = (t = u == null ? void 0 : u.value) == null ? void 0 : t.handlerResponse) == null ? void 0 : r.call(t, o);
|
|
513
514
|
let n;
|
|
514
|
-
l instanceof Promise ? yield l : n = l, n != null && n.url ? a[a.length - 1].url = n.url : n != null && n.errorMessage && (b.error(n.errorMessage), a.splice(a.length - 1, 1)), _.value.formData.file = a;
|
|
515
|
+
l instanceof Promise ? n = yield l : n = l, n != null && n.url ? a[a.length - 1].url = n.url : n != null && n.errorMessage && (b.error(n.errorMessage), a.splice(a.length - 1, 1)), _.value.formData.file = a;
|
|
515
516
|
}), Pe = (o, e) => new Promise((a, l) => {
|
|
516
517
|
var t, r, d, y, f, C, h, U;
|
|
517
518
|
const n = o.name.split(".").filter(Boolean).pop() ? o.name.split(".").filter(Boolean).pop() : "";
|
package/package.json
CHANGED