I’m using redactorjs, It’s a WYSIWYG editor on jQuery. I have a textbox and I want to validate its length to be not more than 10,000.
The problem is when my text box is converted to redactorjs WYSIWYG editor, when I’m validating the length of the textbox, it also includes the HTML tags created by redactorjs.
I want to know how to get the raw text of the textbox without the html tags.
On the page you linked I tried:
Where
"#page"is the WYSIWYG container inside the".redactor_frame"iframe