Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

All content are selected and getting script error when back from HTML mode to Design mode in Editor

$
0
0

Thanks Ianko for your reply, This solution works fine. "editor.focusFirstText()" function  is set focus on first line of editor content which is fine but after that when i click enter key then nothing happen.I checked that enter key click event is fire but cursor in stick on first line.

Steps to reproduce the issue.

1 - In editor NewLineMode="Br".

2 - Add below content HTML mode.

<html><head> </head><body>test<br><br>test<br><br>test<br><br>test<br><br>test</body></html>

3 - Back to Design mode(Cursor is set on first line).Press enter key 

Result : Cursor in stick instead of add <br> tag.

In above scenario Enter key works fine when press any other key before enter key.

Please suggest. 

Thanks.​


Viewing all articles
Browse latest Browse all 94857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>