@chaulapatrice/richtext-editor 0.1.4 → 0.1.6
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/richtext-editor.js
CHANGED
|
@@ -22517,6 +22517,7 @@ function Ase({ shouldPreserveNewLinesInMarkdown: e, useCollabV2: t }) {
|
|
|
22517
22517
|
className: "action-button action-button-mic " + (a ? "active" : ""),
|
|
22518
22518
|
title: "Speech To Text",
|
|
22519
22519
|
"aria-label": `${a ? "Enable" : "Disable"} speech to text`,
|
|
22520
|
+
type: "button",
|
|
22520
22521
|
children: /* @__PURE__ */ B("i", { className: "mic" })
|
|
22521
22522
|
}),
|
|
22522
22523
|
/* @__PURE__ */ B("button", {
|
|
@@ -22529,11 +22530,13 @@ function Ase({ shouldPreserveNewLinesInMarkdown: e, useCollabV2: t }) {
|
|
|
22529
22530
|
}));
|
|
22530
22531
|
},
|
|
22531
22532
|
title: "Clear",
|
|
22533
|
+
type: "button",
|
|
22532
22534
|
"aria-label": "Clear editor contents",
|
|
22533
22535
|
children: /* @__PURE__ */ B("i", { className: "clear" })
|
|
22534
22536
|
}),
|
|
22535
22537
|
/* @__PURE__ */ B("button", {
|
|
22536
22538
|
className: `action-button ${r ? "lock" : "unlock"}`,
|
|
22539
|
+
type: "button",
|
|
22537
22540
|
onClick: () => {
|
|
22538
22541
|
r && Ose(n), n.setEditable(!n.isEditable());
|
|
22539
22542
|
},
|
|
@@ -22543,12 +22546,14 @@ function Ase({ shouldPreserveNewLinesInMarkdown: e, useCollabV2: t }) {
|
|
|
22543
22546
|
}),
|
|
22544
22547
|
/* @__PURE__ */ B("button", {
|
|
22545
22548
|
className: "action-button",
|
|
22549
|
+
type: "button",
|
|
22546
22550
|
onClick: m,
|
|
22547
22551
|
title: "Convert From Markdown",
|
|
22548
22552
|
"aria-label": "Convert from markdown",
|
|
22549
22553
|
children: /* @__PURE__ */ B("i", { className: "markdown" })
|
|
22550
22554
|
}),
|
|
22551
22555
|
p && /* @__PURE__ */ V(z, { children: [/* @__PURE__ */ B("button", {
|
|
22556
|
+
type: "button",
|
|
22552
22557
|
className: "action-button connect",
|
|
22553
22558
|
onClick: () => {
|
|
22554
22559
|
n.dispatchCommand(VE, !s);
|
|
@@ -22557,6 +22562,7 @@ function Ase({ shouldPreserveNewLinesInMarkdown: e, useCollabV2: t }) {
|
|
|
22557
22562
|
"aria-label": `${s ? "Disconnect from" : "Connect to"} a collaborative editing server`,
|
|
22558
22563
|
children: /* @__PURE__ */ B("i", { className: s ? "disconnect" : "connect" })
|
|
22559
22564
|
}), t && /* @__PURE__ */ B("button", {
|
|
22565
|
+
type: "button",
|
|
22560
22566
|
className: "action-button versions",
|
|
22561
22567
|
onClick: () => {
|
|
22562
22568
|
n.dispatchCommand(wF, void 0);
|