easy-email-pro-theme 1.50.3 → 1.50.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/lib/index.js +0 -4
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -707,7 +707,6 @@ const assignIdsToElementTree = (element, overwrite = false) => {
|
|
|
707
707
|
if (map.has(node.id)) {
|
|
708
708
|
const newId = nanoid();
|
|
709
709
|
node.id = newId;
|
|
710
|
-
console.log(`have same id ${node.id}, regenerate ${newId}`);
|
|
711
710
|
} else {
|
|
712
711
|
map.set(node.id, true);
|
|
713
712
|
}
|
|
@@ -8405,10 +8404,8 @@ const Hotkeys = () => {
|
|
|
8405
8404
|
const nativeEvent = ev;
|
|
8406
8405
|
if (Shortcut.isUndo(nativeEvent)) {
|
|
8407
8406
|
ev.preventDefault();
|
|
8408
|
-
editor.undo();
|
|
8409
8407
|
} else if (Shortcut.isRedo(nativeEvent)) {
|
|
8410
8408
|
ev.preventDefault();
|
|
8411
|
-
editor.redo();
|
|
8412
8409
|
} else if (Shortcut.isFormatBold(nativeEvent)) {
|
|
8413
8410
|
ev.preventDefault();
|
|
8414
8411
|
toggleFormat(editor, TextFormat.BOLD);
|
|
@@ -36370,7 +36367,6 @@ function ElementStyleGallery({
|
|
|
36370
36367
|
return useMemo(() => {
|
|
36371
36368
|
const MatchedElement = get(ElementStyles, type);
|
|
36372
36369
|
if (!MatchedElement) {
|
|
36373
|
-
console.warn(`ElementStyles: ${type} not found`);
|
|
36374
36370
|
return null;
|
|
36375
36371
|
}
|
|
36376
36372
|
const renderMenu = () => {
|