Hi,
I have incorporated several custom styles similar to http://demos.telerik.com/kendo-ui/web/editor/styles.html, but the problem is that style continues when the user hits the enter key to start a new line. The editor inserts a <p> tag with a <span style="mystyle"> from currently selected style. This can be seen in the demo above by going to the end of the content, adding a new line of text, selecting a style, and then hitting enter. The only way to "get out" of the style is to go into html view, which I cannot expect my users to do.
In my experience, the best way to use the styles (formatting) option in the editor is to highlight the text and choose the style. After that, the style should no longer apply. Is it possible to tell the editor to stop using a style when the enter key is pressed? Otherwise, would I be able to add a snippet to clear all formatting?
Thank you,
David A.
I have incorporated several custom styles similar to http://demos.telerik.com/kendo-ui/web/editor/styles.html, but the problem is that style continues when the user hits the enter key to start a new line. The editor inserts a <p> tag with a <span style="mystyle"> from currently selected style. This can be seen in the demo above by going to the end of the content, adding a new line of text, selecting a style, and then hitting enter. The only way to "get out" of the style is to go into html view, which I cannot expect my users to do.
In my experience, the best way to use the styles (formatting) option in the editor is to highlight the text and choose the style. After that, the style should no longer apply. Is it possible to tell the editor to stop using a style when the enter key is pressed? Otherwise, would I be able to add a snippet to clear all formatting?
Thank you,
David A.