Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#10693 closed Bug (invalid)

Problem with Table BGCOLOR option

Reported by: Jim Owned by:
Priority: Normal Milestone:
Component: Core : Tables Version: 4.2
Keywords: Cc:

Description

Working with a table from a website which has the following elements.

<TABLE width="100%"> <TR>

<TD BGCOLOR="#CCCCCC">Hello</TD> <TD>Notice that the grey never displays</TD>

</TR> </TABLE>

I tried the settings of allowing content as well as Paste from Word which doesn't apply. The CKEditor is the latest stable build July 18th, 2013 and I tried the latest build as well. This used to work in version 4.0.1 fine. Also previously in CKEDITOR.

Valid solutions are:

  1. Support BGCOLOR tag attribute.
  2. Perform an inline replacement on the fly of a valid attribute.

I tried to keep the example problem as simple as possible to demo

Change History (3)

comment:1 Changed 11 years ago by Jakub Ś

Keywords: BGCOLOR table missing removed
Resolution: invalid
Status: newclosed

comment:2 Changed 11 years ago by Jim

I have used allowedContent: true and it did not work at all. I used the sample editor of replace by class and replace textarea to keep things simple. I have reviewed the sections you list above prior to opening the ticket and none of them addressed the issue.

In previous releases this did work for the table element using the demo code with no changes at all. Do you have a sample which works using the demo code provided for replace class or replace textarea? The files I am working with are "replacebycode.html" and "replacebyclass.html"

comment:3 Changed 11 years ago by Jakub Ś

In replacebycode sample I have used below:

var editor = CKEDITOR.replace( 'editor1', {					
	allowedContent : true
});

Next I have pasted your code in source and it worked. I assume that you haven't inserted this option correctly on page or you have inserted it incorrectly in config.js or you have inserted in in config.js but haven't refreshed cache.

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