掲示板

How to get focus (blink cursor) on Ckeditor?

thumbnail
13年前 に Sushil Mayengbam によって更新されました。

How to get focus (blink cursor) on Ckeditor?

Junior Member 投稿: 53 参加年月日: 10/02/17 最新の投稿
Hi commnunity,

1) Basically, I would like to get a cursor blinking right at the beginning of the Editor text area whenever I open the editor (like the way we see when we open a notepad). I tried using the code:

window.<portlet:namespace />editor.focus();

but it is not working.

2) Through the above functionality as an extension, can we move the blinking cursor to say, after 20 chars when we open the editor?

Any suggestion is highly appreciated.

- Sushil