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

Can't put a table at the top of the document

1 Answer 18 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
Patrick asked on 11 Mar 2013, 04:53 PM
Hello,
the following problem can be reproduced with the RadRichTextBox demonstration: http://demos.telerik.com/silverlight/#RichTextBox/TelerikEditor.

1. Clear the text using the New entry of the menu.
2. Insert a table.

If you look at the display, there is a blank line at the top of the table that can't be removed.

Patrick

1 Answer, 1 is accepted

Sort by
0
Iva Toteva
Telerik team
answered on 11 Mar 2013, 07:34 PM
Hello Patrick,

There is such a limitation in the current document model - Tables cannot be the first or last block in a BlockContainer (TableCell or Section). That is why when you insert a table, a paragraph is added before or after it.

We are gradually trying to remove this limitation, but it is not certain yet when it will be resolved completely.

Greetings,
Iva Toteva
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
RichTextBox
Asked by
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Iva Toteva
Telerik team
Share this question
or