diff --git a/js/scripts.js b/js/scripts.js index afd70c2c3..edbb18831 100644 --- a/js/scripts.js +++ b/js/scripts.js @@ -1163,6 +1163,10 @@ var plugin_formcreator = new function() { }, title: i18n.textdomain('formcreator').__('Update a translation', 'formcreator'), close: function () { + // Remove unclosed TinyMCE toolbar + var tinyToolbar = document.querySelector('.tox-tinymce-aux'); + tinyToolbar.parentNode.removeChild(tinyToolbar); + // Reload the tab reloadTab(); }, fail: function () {