jchartrand/CWRCEditor — Issue #32: strip pasted xml
Author: jchartrand
Created: 2012-01-27 18:47:41+00:00
State: open

Whenever someone pastes XML (including, and most likely, HTML) into the editor, strip out all tags except paragraph tags. If the paragraph tags aren't properly opened and closed then strip them out.

At the moment, pasting XML (HTML) into the editor is messing up the underlying structure.