Opened 15 years ago

Closed 15 years ago

#4735 closed Bug (duplicate)

Table without border is invisible

Reported by: Matti Järvinen Owned by:
Priority: Normal Milestone:
Component: Core : Styles Version: 3.0.1
Keywords: Cc:

Description

Create table with border = 0, click outside of editor area. Table is not visible at all.

Adding this (from fckeditor 2.x) to contents.css should fix this.

table[border="0"],
table[border="0"] > tr > td, table[border="0"] > tr > th,
table[border="0"] > tbody > tr > td, table[border="0"] > tbody > tr > th,
table[border="0"] > thead > tr > td, table[border="0"] > thead > tr > th,
table[border="0"] > tfoot > tr > td, table[border="0"] > tfoot > tr > th
{
	border: #d3d3d3 1px dotted ;
}

/* For tables with no "border" attribute set */
table:not([border]),
table:not([border]) > tr > td, table:not([border]) > tr > th,
table:not([border]) > tbody > tr > td, table:not([border]) > tbody > tr > th,
table:not([border]) > thead > tr > td, table:not([border]) > thead > tr > th,
table:not([border]) > tfoot > tr > td, table:not([border]) > tfoot > tr > th
{
	border: #d3d3d3 1px dotted ;
}

Change History (1)

comment:1 Changed 15 years ago by Frederico Caldeira Knabben

Milestone: CKEditor 3.x
Resolution: duplicate
Status: newclosed

DUP of #4341

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