Hello,
I run a community website where registered users can post their contents.
The problem I am facing is that, when they copy-paste some HTML content, I want the HTML content is allowed but it will auto remove the STYLE tags while pasting.
They can only use the styles from the editor and the site's default CSS.
Without this, while pasting, all kinds of bad STYLE is getting added. Sometime even breaking the entire page.
Please help me how to do it ?
I run a community website where registered users can post their contents.
The problem I am facing is that, when they copy-paste some HTML content, I want the HTML content is allowed but it will auto remove the STYLE tags while pasting.
They can only use the styles from the editor and the site's default CSS.
Without this, while pasting, all kinds of bad STYLE is getting added. Sometime even breaking the entire page.
Please help me how to do it ?
Re: HELP: paste HTML but remove STYLE