Hello,
I have a code to set content of the editor when it get blur.
but It set the focus back to editor.
I want to set the editor content without set it's focus.
Thanks,
Mohamed Ramadan
I have a code to set content of the editor when it get blur.
function
OnClientLoad(editor, args) {
var
element = document.all ? editor.get_document().body : editor.get_document();
$telerik.addExternalHandler(element,
"blur"
,
function
(e) {
if
(editor.get_text() ==
""
) {
editor.set_html(
"content"
);
}
});
}
but It set the focus back to editor.
I want to set the editor content without set it's focus.
Thanks,
Mohamed Ramadan