Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
443 views
in Plugins by
As you may know wysiwyg(ckEditor) dont work on android devices. Was wondering if there is a way to ckeck if the ckEditor is compatible with current browser, if not show a message.
Q2A version: 1.6.2
by
As far as I know CKEditor is disabled by the core system.
by
I just know CKEDITOR.env.isCompatible  should be helpful

1 Answer

0 votes
by

For the purpose of sharing what I learned so far, we can add the following script to the config.js, however it is not that helpful as config.js gets called only is the ckEditor is working:

if ( CKEDITOR.env.isCompatible ){
    alert( "ckEditor is compatible with this browser" );
    } else {
    alert ( "not compatible ckEditor with this browser!"); // this part will never reach
    }

...