I have a kendo editor control which is used to edit text containing <br> tags for newlines. The text is long, causing the editor to show a scroll bar. To preserve compatibility with existing data, I have overridden the newline command to insert <br> tags instead of paragraphs:
$("#txtEditor").kendoEditor({
tools: [
{ name: "insertLineBreak", shift: false },
]
});
This works fine, except that when I do this and insert a new line near the top, now the editor scrolls to the end of the text block, which makes the scroll bar jump down. Is there any way to avoid this happening?
I am using Kendo UI Complete v2013.3.1119 and the JQuery version it came with, Windows 7, tested in Firefox 27. I can replicate this in the demo on the Kendo site as well by inserting some text and using shift+enter to insert some new lines.
$("#txtEditor").kendoEditor({
tools: [
{ name: "insertLineBreak", shift: false },
]
});
This works fine, except that when I do this and insert a new line near the top, now the editor scrolls to the end of the text block, which makes the scroll bar jump down. Is there any way to avoid this happening?
I am using Kendo UI Complete v2013.3.1119 and the JQuery version it came with, Windows 7, tested in Firefox 27. I can replicate this in the demo on the Kendo site as well by inserting some text and using shift+enter to insert some new lines.