CKEditor for WordPress
[resolved] [Plugin: CKEditor For WordPress] [Ask] Toggling between CK and plain text area? (2 posts)

  1. Arya
    Posted 5 years ago #

    Hi, I'm wondering whether it would be possible to put some kind of on/off switch in the comment area. I'd like my visitor would be able to choose the usual text area if they want to.

    Tnx in advance


  2. Arya
    Posted 5 years ago #


    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

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • CKEditor for WordPress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic