I am trying to enter space in textarea(inline ckeditor). not showing the spce but second time enter space onwords showing
It means, first space not showing and not allowed in my focus event case
This issue happend in FF and IE
Please help me.
Are you getting this on the
Are you getting this on the demo page?
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
no, in my code only.
no, in my code only.
Senario, like when user enter the text in textarea, then the textarea id is also updated with current texterarea value using change event.
example: textarea id and value is "abc" , supose user can updated the textarea value like "abcd", then textarea id and ckeditor instance also updated using "change" event.
My exact requirment is , add the space after "abcd", it means expected result is "abcd "
In this case, focus is not consider space in FF and IE but chrome its workingfine.
I absorved in console, in chrome showing "abcd " but FF and IE only showing "abcd" and focus also shows only after text("abcd") and even next letter also added without space.
I am developed below code for focus(for supporting FF)
updatedEditor.on('instanceReady', function(ev) {
ev.editor.focus();
var range = ev.editor.createRange();
range.moveToElementEditEnd( range.root );
ev.editor.getSelection().selectRanges( [ range ] );
});
Anything worng on this code?