Contao news
Read the official Contao announcements.
Contao 3.5.6 is available
by Leo Feyer – Announcements
Contao version 3.5.6 is available. The bugfix release fixes the "An invalid form control with name='text' is not focusable" problem occurring in Firefox and Chrome.
Adjusting the TinyMCE templates
The problem is caused by the required
attribute, which remains on the initial <textarea>
element when TinyMCE is initialized. Therefore, the problem has been fixed in the TinyMCE initialization scripts, which lie inside the system/config/tiny*.php
files.
If you are using custom TinyMCE configuration files, please add lines 3 to 5 of the following code snippet:
window.tinymce && tinymce.init({
…
setup: function(editor) {
editor.getElement().removeAttribute('required');
},
…
});
The fix above also works in Contao 3.5.5, in case you cannot upgrade for some reason.
Also see: GitHub tickets | GitHub compare view | Contao changelog | Release overview
Comments
Add a comment