diff --git a/system/templates/admin.pages.form.html.twig b/system/templates/admin.pages.form.html.twig index 499af4ee..28274dac 100644 --- a/system/templates/admin.pages.form.html.twig +++ b/system/templates/admin.pages.form.html.twig @@ -66,7 +66,8 @@ if (!this.checked) { tinymce.remove('#editor'); } else { - if (tinymce.get('#editor')!== null){ + $('#php').prop('checked', false); + if (tinymce.get('#editor')!== null) { tinymce.activeEditor.show(); } else { tinymceInit();