From c8e860d693cc6fa686b28049a5d3723104e6d618 Mon Sep 17 00:00:00 2001 From: indigoxela Date: Thu, 23 Jul 2026 07:42:16 +0200 Subject: [PATCH 1/2] Issue #198: Prevent flash when submitting the form --- js/tinymce-integration.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/tinymce-integration.js b/js/tinymce-integration.js index f6de65a..ad9144f 100644 --- a/js/tinymce-integration.js +++ b/js/tinymce-integration.js @@ -140,6 +140,10 @@ }, detach: function (element, format, trigger) { + if (trigger === 'submit') { + // New trigger type as of core 1.43.3. + return; + } if (trigger === 'serialize') { tinymce.triggerSave(); return; From 4cfb825261462c666082867215309acf037e4016 Mon Sep 17 00:00:00 2001 From: indigoxela Date: Tue, 18 Aug 2026 11:12:04 +0200 Subject: [PATCH 2/2] Fix typo in comment --- js/tinymce-integration.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/tinymce-integration.js b/js/tinymce-integration.js index ad9144f..76e1c75 100644 --- a/js/tinymce-integration.js +++ b/js/tinymce-integration.js @@ -141,7 +141,7 @@ detach: function (element, format, trigger) { if (trigger === 'submit') { - // New trigger type as of core 1.43.3. + // New trigger type as of core 1.34.3. return; } if (trigger === 'serialize') {