Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#12081 closed Bug (invalid)

Migration Incompatibility from CKeditor 3.x to 4.x

Reported by: kahshiu Owned by:
Priority: Normal Milestone:
Component: Core : Editable Version:
Keywords: Cc:

Description

html elements correctly rendered in CK 3.x cannot be reproduced in CK 4.x. ie. <tr style='font-weight:bold'><td>something</td></tr> <strong> tag doesnt wrap around the tr element.

Change History (4)

comment:1 Changed 10 years ago by Jakub Ś

Resolution: invalid
Status: newclosed
Version: 4.4.1

I'm sorry but this has never been possible. I have checked both versions 3.x and 4.x.

What you are referring to is invalid HTML.The only tags allowed in table are tbody, tfoot and tr. You can't wrap tr in strong tag. Please see: http://www.w3.org/TR/html-markup/table.html#table

comment:2 in reply to:  1 Changed 10 years ago by kahshiu

Replying to j.swiderski:

I'm sorry but this has never been possible. I have checked both versions 3.x and 4.x.

What you are referring to is invalid HTML.The only tags allowed in table are tbody, tfoot and tr. You can't wrap tr in strong tag. Please see: http://www.w3.org/TR/html-markup/table.html#table

What happened was we've already build a number of templates like <tr style="font-weight:bold"><td>something</td></tr> which rendered correctly in 3.x However, when rendered in 4.x, CKEditor tries to interpret these style tags and wrap <Strong> tags around <tr> which fails. Is there a way to have the output rendered as 3.x?

comment:4 in reply to:  3 Changed 10 years ago by kahshiu

Wonderful. Thanks for pointing out.

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