This is a migrated thread and some comments may be shown as answers.

Tables are invisible, within the editor

1 Answer 41 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Jeff
Top achievements
Rank 1
Jeff asked on 10 Nov 2008, 10:42 PM
When, within the RadEditor, we create a new HTML Table, it is invisible.  The border widths are zero, the border styles are none.

If we change the border style settings, the table is visible, but finding the newly-created table in the editor pane so as change the border style settings is difficult, since you can't see it.  (I usually switch to the html pane, but we can't expect our end-users to do that.

In your demos, the borders of a table within the editor are displayed as solid 1px gray, until you edit them to something else.  My guess is that we've somehow made CSS changes somewhere that are causing the behavior we're seeing.  But we're having a difficult time tracking down where the table border style settings are defined, when displaying a table within the editor.

Where should we be looking?

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 12 Nov 2008, 05:40 PM
Hi Jeff,

Please, see the following help article on the subject: Content Area Appearance Problems. It explains that the editor reads its content area styles from the embedded as a resource EditorContentArea.css file.

These are the default table styles:

table
{
BORDER-RIGHT: #999999 1px dashed;
border-bottom: #999999 1px dashed;
}
table td
{
PADDING: 1px;
border-top: #999999 1px dashed;
BORDER-LEFT: #999999 1px dashed;
}
table th
{
PADDING: 1px;
border-top: #000000 1px dashed;
BORDER-LEFT: #000000 1px dashed;
}




Regards,
Rumen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Editor
Asked by
Jeff
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or