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

Table with style makes the HTML markup invalid

2 Answers 21 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Andrey
Top achievements
Rank 1
Andrey asked on 01 Sep 2014, 02:22 PM
Hi Guys,

Scenario:
1. Input several lines of text;
2. Put the cursor among them;
3. Create 4x4 table;
4. Perform right mouse button click on any cell of the table and select the “Table Properties”;
5. Select the “telerik-reTable-3” style in the “CSS Class Layout” menu;
6. Specify the “Height” and “Width” in the “Dimensions” menu;
7. Specify the “Cell Spacing” and “Cell Padding” in the “Layout” menu;
8. Press the “OK” button;
9. Select the HTML view;
10. Validate the HTML markup using the http://validator.w3.org/ validator

Actual result:
Element style not allowed as child of element p in this context.
<style type="text/css" id="telerik-reTable-3">

Expected result:
A valid HTML markup is generated.
Notes:
Please take a look at the video http://screencast.com/t/Ze1Y94in

2 Answers, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 04 Sep 2014, 07:02 AM
Hi Andrey,

Thank you for reporting this bug. I logged it in our database for fixing, you can track updates on the task via this feedback portal item.

As appreciation for this report I am updating your Telerik points.

As a temporary solution, I can suggest implementing a custom filter that transfers the style element into the head element of the editable document.

Regards,
Ianko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Andrey
Top achievements
Rank 1
answered on 04 Sep 2014, 07:51 AM
Hi Ianko,
Thank you very much!
Tags
Grid
Asked by
Andrey
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Andrey
Top achievements
Rank 1
Share this question
or