Copy and Paste Blows Up With Unwanted Code When Using In-Line Editor

Posted December 19, 2018

The Issue

While using the new in-line editor (slow double-click to edit a component), it is possible to paste in a lot of 'garbage' code from other programs like Word or email that uses Word as its editor.  The original text in the other document may look like normal text, but Word often adds a lot of additional coding that you cannot see. This text may suddenly be releaved alognside your intended target when you paste into the UBCMS component.

Workaround

This is 'normal behavior'. There is no filter operating on the text that you are pasting into the component in the same way that what you type into a text component is limited.

If you encounter this situation, manually delete the unwanted code, or first paste the text into a text editor, like Notepage, and then copy and paste from there.

screenshot of a web page showing unwanted code accidentally pasted into a component.

Screenshot of a web page showing unwanted code accidentally pasted into a component.