Hi All:),
I am having problems trying to be able to select all the text that is in the fckeditor, whether it is selected or not.
Does anyone know how to do this exactly?
Cheers
Rob
I am having problems trying to be able to select all the text that is in the fckeditor, whether it is selected or not.
Does anyone know how to do this exactly?
Cheers
Rob

RE: Selecting all the text in the FCK Editor
FCK.EditorDocument.execCommand('SelectAll');
Re: Selecting all the text in the FCK Editor
function setEditorValue( instanceName, text ) { var oEditor = FCKeditorAPI.GetInstance( instanceName ) ; oEditor.SetHTML( text ) ; oEditor.EditorDocument.execCommand('SelectAll'); /* WTH!! */ }