We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41fbde6 commit 14f21f7Copy full SHA for 14f21f7
app/code/Magento/PageBuilder/view/adminhtml/web/ts/js/content-type/wysiwyg.ts
@@ -4,6 +4,7 @@
4
*/
5
6
import $ from "jquery";
7
+import _ from "underscore";
8
import WysiwygSetup from "mage/adminhtml/wysiwyg/tiny_mce/setup";
9
import events from "Magento_PageBuilder/js/events";
10
@@ -57,7 +58,7 @@ export default class Wysiwyg {
57
58
public onEdited(callback: () => void) {
59
this.wysiwygAdapter.eventBus.attachEventHandler(
60
"tinymceChange",
- callback,
61
+ _.debounce(callback, 100),
62
);
63
}
64
0 commit comments