Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
447 views
in Plugins by
by
I'm also a supporter of the need of switching from a wysiwyg interface to a more simple interface (basic editor ?) when posting using smaller displays (see handsets)

1 Answer

+1 vote
by

Bit of JS code can do the trick . 

Paste this code in the JS file . 

Change the value min width below which you want to destroy CKEditor 

(function(){
var minWidth = 500 ; //in px . 
if ($( window ).width() <  minWidth ) {
//small screen device 
if (typeof CKEDITOR != 'undefined') {
CKEDITOR.on("instanceReady", function(event)
{
  if (typeof CKEDITOR.instances.content != 'undefined') {
  CKEDITOR.instances.content.destroy();
  }
 
  if (typeof CKEDITOR.instances.a_content != 'undefined') {
  CKEDITOR.instances.a_content.destroy();
  }
 
  if (typeof CKEDITOR.instances.c_content != 'undefined') {
  CKEDITOR.instances.c_content.destroy();
  }
 
});
}
};
})();
 
Hope this helps . 
 
Thankks 
...