Tags:
create new tag
view all tags

KeyWords: TWiki

How to disable the WYSIWYG editor

I've finally found how to disable the TWYSIWYG editor on the TWiki: just write:

      * Set TINYMCEPLUGIN_DISABLE = 1
Note that the line should be gin with exactly 3 or 6 spaces.

The above line can be set in each of the following places:

  • A single page, in the comment header -- it will disable TinyMCE for that page only.

  • A user's personal page (e.g., RiccardoMurri), in the "Personal Preferences" section -- disables TinyMCE for that user.

  • A web's "WebPreferences" topic -- disable TinyMCE for all pages in the topic (unless overridden by a page-specific preference)

There is also an option to disable WYSIWYG editing based on certain topic content; e.g., WYSIWYG editing can be turned off for all pages containing <pre> tags (which TinyMCE messes up):

   * Set WYSIWYG_DISABLE = pre 
(Same places as before.)

The full documentation of the TWiki WYSIWYG editor can be found at: TinyMCEPlugin

Readers' comments

 
Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | More topic actions
Topic revision: r1 - 2009-09-21 - RiccardoMurri
 
This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback