Hi,
I use WYSIWYG editor, and I’d like to add a “minlength” attribute to textarea in HTML mode, but the Publii remove it after I save changes.
Reproduce the issue:
- Open a new post with WYSIWYG editor
- Switch to HTML mode
- Add this code:
<form><textarea minlength="5"></textarea> <input type="submit" value="Check"></form>
- Press “Apply changes”
- Go back to HTML editor
- You will see the code without the minlength attribute:
<form><textarea></textarea> <input type="submit" value="Check"></form>
Is it a bug? How can I add “minlength” attribute to textarea?
Thank you!
Feriman