Opened 13 years ago

Last modified 8 years ago

#8186 confirmed Bug

If copied MS-Word text contains a text box, then text does not display correctly in the editor

Reported by: IBM_RQM Owned by:
Priority: Normal Milestone:
Component: Plugin : Paste from Word Version: 3.0
Keywords: IBM Cc: satya_minnekanti@…

Description

Environment: CK Editor 5.3.1 FireFox 3.5

Steps:

  1. Create MS-Word doc consisting of text box containing some text in it
  2. Copy the text from that doc including the text box.
  3. Paste the text in ck editor.

Actual Result: The text does not display correctly in the editor.

Attachments (1)

text_box.doc (23.5 KB) - added by Jakub Ś 13 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 13 years ago by Satya Minnekanti

Cc: satya_minnekanti@… added

comment:2 Changed 13 years ago by Jakub Ś

Status: newconfirmed
Version: 3.5.13.0

In IE, text-box with its contents is pasted as table with one row and one column (looks correct):

<table cellpadding="0" cellspacing="0" width="100%">
	<tbody>
		<tr>
			<td>
				<div>
					<p>
						Hello. This is text In a text-box</p>
				</div>
			</td>
		</tr>
	</tbody>
</table>

In Opera 11.50 I was not able to paste text-box from MS-Word (this has been from CKE 3.0)

In Webkit and Firefox (3.5 - 5) text-box is pasted as table with two rows and nested table (this has been from 3.1):

<table align="left" cellpadding="0" cellspacing="0">
	<tbody>
		<tr>
			<td height="78">
				&nbsp;</td>
		</tr>
		<tr>
			<td>
				&nbsp;</td>
			<td height="102">
				<table cellpadding="0" cellspacing="0" width="100%">
					<tbody>
						<tr>
							<td>
								<div>
									<p>
										Hello. This is text in a text-box</p>
								</div>
							</td>
						</tr>
					</tbody>
				</table>
			</td>
		</tr>
	</tbody>
</table>

Changed 13 years ago by Jakub Ś

Attachment: text_box.doc added

comment:3 Changed 11 years ago by Frederico Caldeira Knabben

Component: GeneralPlugin : Paste from Word

comment:4 Changed 8 years ago by Tade0

Milestone: CKEditor 4.6.0

This behaviour hasn't changed since the last update.

comment:5 Changed 8 years ago by Marek Lewandowski

Milestone: CKEditor 4.6.0

We're unable to put any more PFW related tickets in 4.6.0. We'll revisit it later.

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