SID-01232: TinyMCE on a Per-Topic/page basis
| Status: |
Answered |
TWiki version: |
5.0.1 |
Perl version: |
|
| Category: |
CategoryEditing |
Server OS: |
|
Last update: |
14 years ago |
I would like to use
TinyMCEPlugin only on one or two specific pages. I understand that
TinyMCE can be disabled on a per-page basis, but I would prefer to have raw editing as the only option on all but one or two pages. Is this possible?
--
DavidGrubers - 2011-07-13
Discussion and Answer
I generally shut off the wysiwyg for a web by setting
TINYMCEPLUGIN_DISABLE = 1 in that web's
WebPreferences, and then for each topic that you want to enable the wysiwyg, you can set that variable equal to
0 either in the topic or in the topic preference settings (under
More topic actions). You can shut off the wysiwyg site-wide by putting the variable in
Main.TWikiPreferences (and still re-enable it on a web- or topic-level as described above).
--
AaronLWalker - 2011-07-14
Aaron's approach is good. Instead of setting
TINYMCEPLUGIN_DISABLE = 1 you can also set
EDITMETHOD = raw on web level or site level, then overload on page level with a
EDITMETHOD = wysiwyg setting. Access control details at
TWikiAccessControl.
--
PeterThoeny - 2011-07-14
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.