Function
This plugin provides PasteFromWord cabability to the editor. When clicked, a dialog opens with a spartan RichText instance to paste word content into via the keyboard commands. The contents are then filtered to remove word style classes and other meta-junk that tends to cause issues.
String
The CSS class name for the button node is formed from `iconClassPrefix` and `command`
String
The width to use for the rich text area in the copy/pate dialog, in px. Default is 400px.
String
The height to use for the rich text area in the copy/pate dialog, in px. Default is 300px.
Array
The filters is an array of regular expressions to try and strip out a lot of style data MS Word likes to insert when pasting into a contentEditable. Prettymuch all of it is junk and not good html. The hander is a place to put a function for match handling. In most cases, it just handles it as empty string. But the option is there for more complex handling.
Function
Over-ride for creation of the save button.
Function
Over-ride for button state control for disabled to work.
Function
The editor to configure for this plugin to use.
Over-ride for the setting of the editor.
Function
Function to trigger opening the copy dialog.
Function
", "", " ", "", " | ",