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

clear formatting on table

1 Answer 52 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Shane
Top achievements
Rank 2
Iron
Iron
Iron
Shane asked on 02 May 2016, 03:00 AM

We are testing the insert table functionality in the editor. When we add the table it has certain default styling. It looks like the attached file.

When we clear formatting it looks like this.

1 2

when we save it it saves with no styling.

<table>
 <tbody>
  <tr>
   <td>1</td>
   <td>2</td>
  </tr>
 </tbody>
</table>

But when we return to the editor and reload the saved table it gets the default styling and shows like the attached file. Is there something we should be doing to save the styling?

1 Answer, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 03 May 2016, 12:09 PM
Hello Shane,

The described situation is described in this help article—http://docs.telerik.com/kendo-ui/controls/editors/editor/overview#default-content-styling.

To achieve the required behavior you can store the same styles in the source where the HTML is being submitted or saved. By that you will be able to have the same table styles everywhere. 

Regards,
Ianko
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Editor
Asked by
Shane
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Ianko
Telerik team
Share this question
or