Declined
Last Updated: 20 Nov 2014 10:43 by ADMIN
Stephen
Created on: 19 Nov 2014 20:58
Category: Kendo UI for jQuery
Type: Feature Request
2
Add a method to get raw HTML value from Editor
The .value() function on the Editor control strips out some elements from the Editor HTML. For instance, tables created in the Editor have a BR tag inside the table cells, but those BR tags are removed from the string returned by .value().

In order to display HTML exactly the same as it appears in the Editor, it would be useful to have an additional function, perhaps call it .rawValue(), that does not strip out these elements. For instance, with the BR example, if a row does not have any content the row will collapse without the BRs, so it would be nice to have an additional function that leaves them in.
2 comments
ADMIN
Telerik Admin
Posted on: 20 Nov 2014 10:43
This sounds like an issue with the value() method logic in the scenarios you described. It should probably keep the BR tags intact when called.

Can you send this report via a regular support ticket which you can start on telerik.com? Thus our developers will review it and answer accordingly. Thank you for your cooperation.
Stephen
Posted on: 19 Nov 2014 23:25
Also, when you hit ENTER inside a table cell, the resulting paragraph (P) tag also has a BR tag placed inside it that is removed when calling .value(). The .rawValue() function should leave this tag as well.