@bettercms-ai/kit 3.1.9 → 3.1.12
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/controls/rich-text/editor.js +1 -2
- package/dist/controls/rich-text/editor.js.map +1 -1
- package/dist/engine/array.js +8 -3
- package/dist/engine/array.js.map +1 -1
- package/dist/engine/item-list.d.ts +1 -1
- package/dist/engine/item-list.js +20 -2
- package/dist/engine/item-list.js.map +1 -1
- package/dist/lib/utils.js +1 -1
- package/dist/lib/utils.js.map +1 -1
- package/dist/library/entries/advanced.entries.js +1 -1
- package/dist/library/entries/advanced.entries.js.map +1 -1
- package/dist/library/entries/media.entries.js +1 -1
- package/dist/library/entries/media.entries.js.map +1 -1
- package/dist/library/kit-catalog.json +2 -2
- package/package.json +1 -1
|
@@ -1185,8 +1185,8 @@ function RichTextEditor({ value, onChange, readOnly, placeholder, docKey, featur
|
|
|
1185
1185
|
const undoKey = (e) => {
|
|
1186
1186
|
if (!(e.metaKey || e.ctrlKey) || e.altKey || eventKey(e) !== "z") return false;
|
|
1187
1187
|
if (e.shiftKey) {
|
|
1188
|
-
if (!islandRedo()) return false;
|
|
1189
1188
|
e.preventDefault();
|
|
1189
|
+
if (!islandRedo()) exec("redo");
|
|
1190
1190
|
return true;
|
|
1191
1191
|
}
|
|
1192
1192
|
if (islandUndo()) {
|
|
@@ -1349,7 +1349,6 @@ function RichTextEditor({ value, onChange, readOnly, placeholder, docKey, featur
|
|
|
1349
1349
|
onLink: openLink,
|
|
1350
1350
|
onClear: () => run(() => {
|
|
1351
1351
|
exec("removeFormat");
|
|
1352
|
-
exec("unlink");
|
|
1353
1352
|
}),
|
|
1354
1353
|
onComment: commentSel,
|
|
1355
1354
|
onInlineCode: () => {
|