Unplanned
Last Updated: 13 Oct 2020 06:12 by ADMIN
Tyler
Created on: 12 Oct 2020 15:25
Category: Editor
Type: Bug Report
1
The style attribute is removed from the elements in the initial HTML content

I am passing an HTML table, which, on some elements, has a style attribute. When it renders the style attribute is missing which breaks the layout.

Passed HTML:

<table>
    <tr>
         <td style="width:100px;background-color:#FF0000;">Test</td> 
   </tr>
</table>

Rendered HTML from the Editor (missing style attribute):

<table class="k-table"><tbody><tr><td><p>Test</p></td></tr></tbody></table>

 

0 comments