Opened 16 years ago

Closed 12 years ago

#2601 closed Bug (invalid)

Copy/paste from open office

Reported by: thecrazyspy Owned by:
Priority: Normal Milestone:
Component: General Version: FCKeditor 2.3.2
Keywords: Cc:

Description

Hello,

I have a problem when copy/paste text from open office. It keeps me own tags to open office. Is it possible to have a button like a copy and paste Word?

Thank you

Change History (7)

comment:1 Changed 16 years ago by Artur Formella

Keywords: Pending added

Does "Paste from Word" button work correctly? Please attach your source code to see the problem.

comment:2 Changed 16 years ago by thecrazyspy

Yes "paste from Word" it's OK. My code : <meta content="text/html; charset=utf-8" http-equiv="CONTENT-TYPE" /> <title></title> <meta content="OpenOffice.org 3.0 (Win32)" name="GENERATOR" /><style type="text/css">

<!--

@page { margin: 2cm } P { margin-bottom: 0.21cm }

--> </style>

<p style="margin-bottom: 0.5cm;"><font size="2">Nous avons les clefs priv&eacute;es et certificats du client et du serveur OpenVPN</font></p> </p>

comment:3 Changed 16 years ago by Artur Formella

I don't understand. Why don't you use "paste from word" ?

comment:4 Changed 16 years ago by thecrazyspy

Even with this button I left the tags <meta content="OpenOffice.org 3.0 (Win32)" name="GENERATOR" /> <style type="text/css">, the text comes from open office rather than word

comment:5 Changed 16 years ago by Artur Formella

Keywords: Confirmed added; Pending removed
Version: FCKeditor 2.6.3FCKeditor 2.3.2

comment:6 in reply to:  1 Changed 14 years ago by tuanpham

Replying to arczi:

Does "Paste from Word" button work correctly? Please attach your source code to see the problem.

Hi, I meet the same problem when I copy an cell data from spreadsheet of open office to fck editor, then I put to source button on the tool bar I saw the editor auto passing this :

<p>Version:1.0 StartHTML:0000000155 EndHTML:0000000697 StartFragment:0000000475 EndFragment:0000000680 <meta content="text/html; charset=utf-8" http-equiv="CONTENT-TYPE" /> <title></title> <meta content="OpenOffice.org 3.1 (Unix)" name="GENERATOR" /> <style type="text/css">

<!-- BODY,DIV,TABLE,THEAD,TBODY,TFOOT,TR,TH,TD,P { font-family:"Arial"; font-size:x-small }

-->

</style>

<table rules="NONE" cols="1" cellspacing="0" border="0" frame="VOID">

<colgroup><col width="100" /></colgroup> <tbody>

<tr>

<td height="18" align="LEFT" width="100">test data from cell</td>

</tr>

</tbody>

</table> </p>

So for the <style type="text/css">

<!-- BODY,DIV,TABLE,THEAD,TBODY,TFOOT,TR,TH,TD,P { font-family:"Arial"; font-size:x-small }

-->

</style>

it ruins the error when we view the detail content, It will add font effect to all BODY, DIV ...

I just tried with new version of CKEditor as :3.2 and it sill cause this bad case.

comment:7 Changed 12 years ago by Jakub Ś

Resolution: invalid
Status: confirmedclosed

FCKEditor is no longer supported and described issues don’t longer occur in CKEditor and OO 3.3.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy