javascript - tinyMCE paste as word -


hello: know how paste word newest version of tinymce (3-3-9-3)? thanks.

as of number of versions ago, pasting word tinymce window easy copying word document (control-c or x) , pasting tinymce window. should convert office code html.

edit:

in order preserve office stylings, need add paste_retain_style_properties tinymce.init declaration.

example:

tinymce.init({
     ....
     paste_retain_style_properties : "margin, padding, width, height, font-size, font-weight, font-family, color, text-align, ul, ol, li, text-decoration, border, background, float, display",
     ....
});


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -