juuser
Well-Known Member
Just noticed this with J5.0.0 and F4.4.1 (both JCE and TinyMCE have the same behavior).
When you have e.g. "Some text" in the editor, then try to save the form and the validation fails, "Some text" becomes "<p>Some text</p>". And when you try to save again with failed validation, then "<p>Some text</p>" becomes "<p><p>Some text</p></p>" etc.
And when you finally save the form, textarea keeps all the unparsed tags.
All textarea settings are default, except obviously WYSIWYG-editor set to "Yes".
So it seems that something has changed regarding this lately, because at least F4.0.0. on J5.0.0. doesn't seem to have this bug.
EDIT: textarea field itself doesn't have any validations set.
When you have e.g. "Some text" in the editor, then try to save the form and the validation fails, "Some text" becomes "<p>Some text</p>". And when you try to save again with failed validation, then "<p>Some text</p>" becomes "<p><p>Some text</p></p>" etc.
And when you finally save the form, textarea keeps all the unparsed tags.
All textarea settings are default, except obviously WYSIWYG-editor set to "Yes".
So it seems that something has changed regarding this lately, because at least F4.0.0. on J5.0.0. doesn't seem to have this bug.
EDIT: textarea field itself doesn't have any validations set.
Last edited: