@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.
@@ -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: () => {