I am using CKEditor in my Rails project
The view
looks like this:
<%= cktext_area_tag "editor_name","", :style=>"width:115px; height:19px; border:#d1d1d1 1px solid; background:#cfcfcf" %>
There is no content in the editor when it is loaded. But while checking the console
I could see this:
> var editor_val = CKEDITOR.instances.editor_name.document.getBody().getChild(0).getText() ;
< undefined
> editor_val
< "
"
> editor_val.length
< 1
I want the CKEditor default value to be blank. How is it possible?