Copy/paste in HTML Area


#1

Enonic version: 6.15
OS: Linux

I love the new Html Editor, and especially copy/paste seems to be very nice as it removes most formatting but keep the basics like links, bold, italic and so on. It makes the lives of editors a lot easier. The one thing I have found though is when copying from Word we often end up getting this code pasted:

<p style="margin-left:28.85pt; margin-right:10cm">

I would assume this is code that should be stripped away. I hope this can be fixed.


#2

What key combination are you using to paste?


#3

Just a normal copy/paste: Ctrl + C to copy and Ctrl + V to paste.


#4

Can you by any chance provide a Word document you are pasting from? One paragraph would be enough - we just need styling that causes margins in the pasted text.


#5

Sure, can you send me your email address in a private message? I tried to send the Word document as a private message but it was not allowed. Prefer to not share the customers documents here publicly.