Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#10772 closed enhancement (fixed)

Add a 'Paste from Word' plugin for editor

Reported by: Jared Jurkiewicz Owned by: Jared Jurkiewicz
Priority: high Milestone: 1.5
Component: Editor Version: 1.4.0
Keywords: Cc:
Blocked By: Blocking:

Description

Cut and paste is a common function people use with editors. Unfortunately certain applications, such as MS Word tend to inject a lot of extraneous, and often bad, HTML into the Editor when pasted in.

The editor needs an intercepter plugin that allows for a secondary window to open where content can be filtered. That content can then be stripped of the garbage that causes Editor issues and injected as mostly clean HTML, this improving user experience with the Editor.

The secondary window is needed, as we cannot intercept native paste events, so the window will act as the intercept and then we know its source and what filters to run. I have a working prototype of this plugin now and it has tested well with severam word documents. I'll be comitting it in soon.

Change History (3)

comment:1 Changed 9 years ago by Jared Jurkiewicz

Resolution: fixed
Status: newclosed

(In [21396]) Adding in my PasteFromWord? plugin. Request from the dojo.connect conf. fixes #10772

comment:2 Changed 9 years ago by Jared Jurkiewicz

(In [21440]) Fixing a test error. refs #10772

comment:3 Changed 9 years ago by Jared Jurkiewicz

(In [21844]) Minor CSS tweaking to make the plugin look nicer. refs #10772

Note: See TracTickets for help on using tickets.