fable-editor 1.2.3 → 1.2.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.
- package/README.md +226 -226
- package/dist/angular/README.md +226 -226
- package/dist/angular/angular/fable-editor.component.d.ts +1 -0
- package/dist/angular/core/editor.d.ts +9 -0
- package/dist/angular/core/types.d.ts +1 -0
- package/dist/angular/esm2022/angular/fable-editor.component.mjs +4 -1
- package/dist/angular/esm2022/core/editor.mjs +46 -11
- package/dist/angular/esm2022/core/i18n.mjs +1 -1
- package/dist/angular/esm2022/core/types.mjs +1 -1
- package/dist/angular/fesm2022/fable-editor.mjs +48 -10
- package/dist/angular/fesm2022/fable-editor.mjs.map +1 -1
- package/dist/core/editor.d.ts +9 -0
- package/dist/core/editor.d.ts.map +1 -1
- package/dist/core/index.cjs +3 -3
- package/dist/core/index.mjs +59 -33
- package/dist/core/types.d.ts +1 -0
- package/dist/core/types.d.ts.map +1 -1
- package/dist/react/FableEditor.d.ts.map +1 -1
- package/dist/react/index.cjs +8 -8
- package/dist/react/index.mjs +77 -47
- package/package.json +113 -113
package/dist/core/index.mjs
CHANGED
|
@@ -1954,8 +1954,8 @@ function ft(p) {
|
|
|
1954
1954
|
if (!l.length || l[l.length - 1].level < c) {
|
|
1955
1955
|
const w = p.createElement(m ? "ol" : "ul");
|
|
1956
1956
|
if (m && g && (w.style.listStyleType = g), l.length) {
|
|
1957
|
-
const
|
|
1958
|
-
(
|
|
1957
|
+
const k = l[l.length - 1].list;
|
|
1958
|
+
(k.lastElementChild || k).appendChild(w);
|
|
1959
1959
|
} else
|
|
1960
1960
|
o.parentNode.insertBefore(w, o);
|
|
1961
1961
|
l.push({ list: w, level: c });
|
|
@@ -2292,7 +2292,7 @@ class Lt {
|
|
|
2292
2292
|
return e + "</tbody></table>";
|
|
2293
2293
|
}
|
|
2294
2294
|
}
|
|
2295
|
-
async function
|
|
2295
|
+
async function Ht(p) {
|
|
2296
2296
|
const t = p instanceof ArrayBuffer ? p : await p.arrayBuffer(), e = Mt(t), i = new TextDecoder(), s = async (u) => {
|
|
2297
2297
|
const v = e.get(u);
|
|
2298
2298
|
return v ? new DOMParser().parseFromString(i.decode(await Q(t, v)), "application/xml") : null;
|
|
@@ -2340,28 +2340,28 @@ async function kt(p) {
|
|
|
2340
2340
|
}
|
|
2341
2341
|
return new Lt(r, d, m).convertBody(n);
|
|
2342
2342
|
}
|
|
2343
|
-
const
|
|
2343
|
+
const kt = ["nw", "ne", "sw", "se"], O = ["img-left", "img-right", "img-top", "img-center"], F = {
|
|
2344
2344
|
"img-left": "tplimgleft",
|
|
2345
2345
|
"img-right": "tplimgright",
|
|
2346
2346
|
"img-top": "tplimgtop",
|
|
2347
2347
|
"img-center": "tplimgcenter"
|
|
2348
|
-
},
|
|
2348
|
+
}, At = {
|
|
2349
2349
|
"img-left": a.tplleft,
|
|
2350
2350
|
"img-right": a.tplright,
|
|
2351
2351
|
"img-top": a.tpltop,
|
|
2352
2352
|
"img-center": a.tplcenter
|
|
2353
|
-
},
|
|
2354
|
-
let E = null,
|
|
2353
|
+
}, It = ".tox,.pop,.tblctx,.imgctx,.selctx,.dlg";
|
|
2354
|
+
let E = null, A = null, $ = 0, K = !1;
|
|
2355
2355
|
function N() {
|
|
2356
|
-
clearTimeout($),
|
|
2356
|
+
clearTimeout($), A = null, E && E.classList.remove("show");
|
|
2357
2357
|
}
|
|
2358
2358
|
function qt(p) {
|
|
2359
2359
|
const t = p.dataset.tip;
|
|
2360
2360
|
if (!t) return;
|
|
2361
|
-
|
|
2361
|
+
A = p, clearTimeout($);
|
|
2362
2362
|
const e = E && E.classList.contains("show") ? 60 : 350;
|
|
2363
2363
|
$ = window.setTimeout(() => {
|
|
2364
|
-
if (
|
|
2364
|
+
if (A !== p || !document.contains(p)) return;
|
|
2365
2365
|
E || (E = document.createElement("div"), E.className = "etip", document.body.appendChild(E)), E.textContent = t, E.classList.add("show");
|
|
2366
2366
|
const i = p.getBoundingClientRect(), s = E.offsetWidth, l = E.offsetHeight;
|
|
2367
2367
|
let o = i.left + i.width / 2 - s / 2;
|
|
@@ -2373,19 +2373,19 @@ function qt(p) {
|
|
|
2373
2373
|
function Bt() {
|
|
2374
2374
|
K || (K = !0, document.addEventListener("mouseover", (p) => {
|
|
2375
2375
|
const t = p.target, e = t.closest ? t.closest("[title],[data-tip]") : null;
|
|
2376
|
-
if (!e || !e.closest(
|
|
2377
|
-
e !==
|
|
2376
|
+
if (!e || !e.closest(It) || e.closest(".earea")) {
|
|
2377
|
+
e !== A && N();
|
|
2378
2378
|
return;
|
|
2379
2379
|
}
|
|
2380
2380
|
const i = e.getAttribute("title");
|
|
2381
|
-
i && (e.dataset.tip = i, e.removeAttribute("title"), e.getAttribute("aria-label") || e.setAttribute("aria-label", i)), e !==
|
|
2381
|
+
i && (e.dataset.tip = i, e.removeAttribute("title"), e.getAttribute("aria-label") || e.setAttribute("aria-label", i)), e !== A && qt(e);
|
|
2382
2382
|
}), document.addEventListener("mouseout", (p) => {
|
|
2383
|
-
|
|
2383
|
+
A && !A.contains(p.relatedTarget) && N();
|
|
2384
2384
|
}), document.addEventListener("mousedown", N, !0), addEventListener("scroll", N, !0));
|
|
2385
2385
|
}
|
|
2386
|
-
const
|
|
2386
|
+
const I = class I {
|
|
2387
2387
|
constructor(t) {
|
|
2388
|
-
this.lang = "en", this.contentClass = "fable-content-" +
|
|
2388
|
+
this.lang = "en", this.contentClass = "fable-content-" + I.instanceCounter++, this.contentStyleEl = null, this.savedRange = null, this.foreColor = "#000000", this.backColor = "#FACC15", this.openPop = null, this.openSubEl = null, this.popAnchor = null, this.dlgOvl = null, this.tblActive = null, this.tblCorner = null, this.tblColBars = [], this.tblCtx = null, this.tblCellMark = null, this.tblOpMark = null, this.tblOpMarkKind = null, this.imgActive = null, this.imgHandles = [], this.imgCtx = null, this.imgHideTimer = null, this.phActive = null, this.phCtx = null, this.phUploadTarget = null, this.vidActive = null, this.vidCtx = null, this.vidHideTimer = null, this.vphActive = null, this.vphCtx = null, this.vphUploadTarget = null, this.selCtx = null, this.tbrMore = null, this.tbrExpanded = !1, this.codeActive = null, this.codeCtx = null, this.tplActive = null, this.tplCtx = null, this.revisions = [], this.revTimer = null, this.draftTimer = null, this.draftStorageKey = "", this.listeners = [], this.isDestroyed = !1, this.options = {
|
|
2389
2389
|
target: t.target,
|
|
2390
2390
|
language: t.language || "en",
|
|
2391
2391
|
height: t.height ?? 302,
|
|
@@ -2577,6 +2577,32 @@ const A = class A {
|
|
|
2577
2577
|
getContent() {
|
|
2578
2578
|
return this.ed.innerHTML;
|
|
2579
2579
|
}
|
|
2580
|
+
/** Same HTML as getContent(), wrapped so its RTL/LTR direction survives being
|
|
2581
|
+
* dropped into a fixed-alignment host (e.g. an email template's
|
|
2582
|
+
* `<td align="left">`), which otherwise forces left alignment onto any
|
|
2583
|
+
* descendant that has no `text-align` of its own — even one with its own
|
|
2584
|
+
* dir="rtl". Elements that already carry their own dir (preserved as-is by
|
|
2585
|
+
* the paste engine) each get their own matching text-align only if they
|
|
2586
|
+
* don't already have one, so mixed-direction content and any alignment the
|
|
2587
|
+
* user explicitly set are left untouched. */
|
|
2588
|
+
getContentForEmail() {
|
|
2589
|
+
const t = (o, n) => {
|
|
2590
|
+
const r = (o.getAttribute("style") || "").trim();
|
|
2591
|
+
o.setAttribute("style", r ? r.replace(/;?$/, "; ") + n : n);
|
|
2592
|
+
}, e = document.createElement("div");
|
|
2593
|
+
e.innerHTML = this.ed.innerHTML;
|
|
2594
|
+
let i = null;
|
|
2595
|
+
e.querySelectorAll("[dir]").forEach((o) => {
|
|
2596
|
+
const n = (o.getAttribute("dir") || "").toLowerCase();
|
|
2597
|
+
if (n !== "rtl" && n !== "ltr") return;
|
|
2598
|
+
const r = n;
|
|
2599
|
+
i || (i = r), /text-align\s*:/i.test(o.getAttribute("style") || "") || t(o, `text-align:${r === "rtl" ? "right" : "left"}`);
|
|
2600
|
+
});
|
|
2601
|
+
const s = i || this.ed.getAttribute("dir") || this.dir();
|
|
2602
|
+
return e.querySelectorAll("table:not([dir])").forEach((o) => {
|
|
2603
|
+
o.setAttribute("dir", s), /direction\s*:/i.test(o.getAttribute("style") || "") || t(o, `direction:${s}`);
|
|
2604
|
+
}), `<div dir="${s}" style="direction:${s};text-align:${s === "rtl" ? "right" : "left"}">${e.innerHTML}</div>`;
|
|
2605
|
+
}
|
|
2580
2606
|
setContent(t) {
|
|
2581
2607
|
this.ed.innerHTML = t || "<p><br></p>", this.refreshState(), this.clearTableHandles(), this.clearImageHandles(), this.clearImgPlaceholderSel(), this.clearTplSel(), this.clearVphPlaceholderSel(), this.clearVidHandles(), this.clearCodeSel(), this.clearSelToolbar(), this.onChange();
|
|
2582
2608
|
}
|
|
@@ -2590,7 +2616,7 @@ const A = class A {
|
|
|
2590
2616
|
this.ed.focus();
|
|
2591
2617
|
}
|
|
2592
2618
|
async importWordFile(t) {
|
|
2593
|
-
const e = await
|
|
2619
|
+
const e = await Ht(t);
|
|
2594
2620
|
this.recordRevision(), this.setContent(e), this.recordRevision();
|
|
2595
2621
|
}
|
|
2596
2622
|
restoreDraft() {
|
|
@@ -3232,7 +3258,7 @@ const A = class A {
|
|
|
3232
3258
|
t.classList.add("tbr-measure");
|
|
3233
3259
|
const e = t.scrollWidth > t.clientWidth + 1;
|
|
3234
3260
|
t.classList.remove("tbr-measure");
|
|
3235
|
-
const i = this.shell.offsetWidth <
|
|
3261
|
+
const i = this.shell.offsetWidth < I.TBR_COLLAPSE_MAX;
|
|
3236
3262
|
if (!e || !i) {
|
|
3237
3263
|
this.tbrExpanded = !1, t.classList.remove("collapsible", "expanded"), this.tbrMore.classList.remove("on");
|
|
3238
3264
|
return;
|
|
@@ -3495,20 +3521,20 @@ const A = class A {
|
|
|
3495
3521
|
this.dialog(
|
|
3496
3522
|
this.t("tablepropsttl"),
|
|
3497
3523
|
(C) => {
|
|
3498
|
-
const M = (w,
|
|
3524
|
+
const M = (w, k) => {
|
|
3499
3525
|
const L = document.createElement("div");
|
|
3500
3526
|
L.style.cssText = n;
|
|
3501
|
-
const
|
|
3502
|
-
|
|
3527
|
+
const H = document.createElement("span");
|
|
3528
|
+
H.style.cssText = r, H.textContent = this.t(w), L.append(H, k), C.appendChild(L);
|
|
3503
3529
|
};
|
|
3504
3530
|
e = document.createElement("input"), e.type = "text", e.style.cssText = c, e.placeholder = "e.g. 600px or 100%", e.value = d, M("tblwidth", e), i = document.createElement("input"), i.type = "number", i.min = "0", i.style.cssText = c, i.value = String(m), M("tblcellpadding", i), s = document.createElement("input"), s.type = "number", s.min = "0", s.style.cssText = c, s.value = String(g), M("tblcellspacing", s), l = document.createElement("input"), l.type = "number", l.min = "0", l.style.cssText = c, l.value = String(u), M("tblborder", l), o = document.createElement("select"), o.style.cssText = c, [
|
|
3505
3531
|
["", "alignnone"],
|
|
3506
3532
|
["left", "alignleft"],
|
|
3507
3533
|
["center", "aligncenter"],
|
|
3508
3534
|
["right", "alignright"]
|
|
3509
|
-
].forEach(([w,
|
|
3535
|
+
].forEach(([w, k]) => {
|
|
3510
3536
|
const L = document.createElement("option");
|
|
3511
|
-
L.value = w, L.textContent = this.t(
|
|
3537
|
+
L.value = w, L.textContent = this.t(k), w === x && (L.selected = !0), o.appendChild(L);
|
|
3512
3538
|
}), M("tblalign", o);
|
|
3513
3539
|
},
|
|
3514
3540
|
[
|
|
@@ -4100,17 +4126,17 @@ const A = class A {
|
|
|
4100
4126
|
const w = (L = C.files) == null ? void 0 : L[0];
|
|
4101
4127
|
if (!w) return;
|
|
4102
4128
|
x.disabled = !0, x.textContent = this.t("uploading");
|
|
4103
|
-
const
|
|
4104
|
-
t.value =
|
|
4129
|
+
const k = (H) => {
|
|
4130
|
+
t.value = H, x.disabled = !1, x.textContent = this.t("uploadvideo");
|
|
4105
4131
|
};
|
|
4106
4132
|
if (this.videoUploadHandler)
|
|
4107
|
-
this.videoUploadHandler(w).then(
|
|
4133
|
+
this.videoUploadHandler(w).then(k).catch((H) => {
|
|
4108
4134
|
var z;
|
|
4109
|
-
x.disabled = !1, x.textContent = this.t("uploadfailed"), (z = this.onVideoUploadError) == null || z.call(this,
|
|
4135
|
+
x.disabled = !1, x.textContent = this.t("uploadfailed"), (z = this.onVideoUploadError) == null || z.call(this, H, w);
|
|
4110
4136
|
});
|
|
4111
4137
|
else {
|
|
4112
|
-
const
|
|
4113
|
-
|
|
4138
|
+
const H = new FileReader();
|
|
4139
|
+
H.onload = () => k(H.result), H.readAsDataURL(w);
|
|
4114
4140
|
}
|
|
4115
4141
|
}), b.append(t, x, C), t.style.flex = "1", v.appendChild(n("vidsource", b));
|
|
4116
4142
|
const M = document.createElement("div");
|
|
@@ -4356,7 +4382,7 @@ const A = class A {
|
|
|
4356
4382
|
renderTplCtxButtons() {
|
|
4357
4383
|
const t = this.tplCtx, e = this.tplActive;
|
|
4358
4384
|
!t || !e || (t.innerHTML = "", O.forEach((i) => {
|
|
4359
|
-
const s = this.ctxBtn(
|
|
4385
|
+
const s = this.ctxBtn(At[i], this.t(F[i]), () => this.setTplLayout(i));
|
|
4360
4386
|
s.classList.toggle("on", e.classList.contains("tpl-" + i)), t.appendChild(s);
|
|
4361
4387
|
}), t.append(this.ctxSep(), this.ctxBtn(a.trash, this.t("deltemplate"), () => this.removeTemplate())), this.positionTplCtx());
|
|
4362
4388
|
}
|
|
@@ -4539,7 +4565,7 @@ const A = class A {
|
|
|
4539
4565
|
this.cancelImgHide(), this.imgHandles.forEach((i) => i.remove()), this.imgHandles = [], (t = this.imgCtx) == null || t.remove(), this.imgCtx = null, (e = this.imgActive) == null || e.classList.remove("img-selected"), this.imgActive = null;
|
|
4540
4566
|
}
|
|
4541
4567
|
selectImage(t) {
|
|
4542
|
-
this.imgActive !== t && (this.clearImageHandles(), this.imgActive = t, t.classList.add("img-selected"), this.imgHandles =
|
|
4568
|
+
this.imgActive !== t && (this.clearImageHandles(), this.imgActive = t, t.classList.add("img-selected"), this.imgHandles = kt.map((e) => {
|
|
4543
4569
|
const i = document.createElement("div");
|
|
4544
4570
|
return i.className = "img-handle img-handle-" + e, i.dataset.corner = e, i.addEventListener("mousedown", (s) => this.startImageResizeDrag(s, e)), i.addEventListener("mouseenter", () => this.cancelImgHide()), i.addEventListener("mouseleave", () => this.scheduleImgHide()), document.body.appendChild(i), i;
|
|
4545
4571
|
}), this.imgCtx = this.buildImageCtxToolbar(t), this.positionImageHandles());
|
|
@@ -4799,8 +4825,8 @@ const A = class A {
|
|
|
4799
4825
|
this.closePop(), this.closeDlg(), this.clearTableHandles(), this.clearImgPlaceholderSel(), this.clearVphPlaceholderSel(), this.clearVidHandles(), this.clearCodeSel(), this.shell.dir = this.dir(), this.ed.dir = this.dir(), this.options.menubar ? this.buildMenubar() : this.menubar.style.display = "none", this.options.toolbar ? this.buildToolbar() : this.toolbar.style.display = "none", this.sbHelp.textContent = this.t("statushelp"), this.refreshState();
|
|
4800
4826
|
}
|
|
4801
4827
|
};
|
|
4802
|
-
|
|
4803
|
-
let J =
|
|
4828
|
+
I.instanceCounter = 0, I.TBR_COLLAPSE_MAX = 992;
|
|
4829
|
+
let J = I;
|
|
4804
4830
|
export {
|
|
4805
4831
|
j as BLOCKS,
|
|
4806
4832
|
Nt as CHARS,
|
package/dist/core/types.d.ts
CHANGED
package/dist/core/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/core/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG,IAAI,GAAG,IAAI,CAAC;AAEzC,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,EAAE,CAAC;CACjB;AAED,MAAM,WAAW,UAAU;IACzB,CAAC,GAAG,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,GAAG;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACrF;AAED,MAAM,WAAW,iBAAiB;IACh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AE,cAAc,KAAK,IAAI,CAAC;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"FableEditor.d.ts","sourceRoot":"","sources":["../../src/react/FableEditor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6D,MAAM,OAAO,CAAC;AAClF,OAAO,EAAkC,iBAAiB,EAAkB,cAAc,EAAE,MAAM,SAAS,CAAC;AAE5G,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAAC,iBAAiB,EAAE,QAAQ,GAAG,UAAU,GAAG,SAAS,CAAC;IAClG,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,OAAO,CAAC,EAAE,CAAC,MAAM,EAAE,cAAc,KAAK,IAAI,CAAC;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED,eAAO,MAAM,WAAW,yFA2FvB,CAAC"}
|