Javascript: Disable Style Pasting -


i'm building simple wysiwyg editor iframe desig mode on.

my problem when paste text in editor brings style of text font size, font family, color etc...

is there way disable predefined javascript functions? , what's best solution this?

please no libraries, pure javascript! :)

i once read editors change focus regular textarea, contents pasted there (format gets lost), , plain text copied editor.


Comments

Popular posts from this blog

java - netbeans "Please wait - classpath scanning in progress..." -

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

openxml - Programmatically format a date in an excel sheet using Office Open Xml SDK -