Support » Plugin: CKEditor for WordPress » [Plugin: CKEditor For WordPress] [Ask] Toggling between CK and plain text area?

Viewing 1 replies (of 1 total)
  • Eureka!

    Okey-Dokey, I think I’ve found the solution, after a quick look into ckeditor.utils.js I was able to find the right JavaScript functions:

    ckeditorOn(); and
    ckeditorOff();

    Their names are quite self-explanatory, no?

    Both functions will adjust text-area visibility accordingly, so there is no more extra step required. Just put it as value of any event handler (i.e onClick) and voila! CKeditor is toggled gracefully with plain text area.

    It’s dead simple to use, my thanks goes to developer. 🙂

    (I actually went through CK documentations and successfully tried to (re)create those functions from scratch! ultimately only to find they’re already provided from the start. *facepalm* me

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: CKEditor For WordPress] [Ask] Toggling between CK and plain text area?’ is closed to new replies.