• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

The attached patch, wysiwyg_ok_calls.patch to WysiwygPlugin.pm adds a new pref variable, WYSIWYG_OK_CALLS that can be set to the TWiki calls that you know kupu work with, in the case you disabled them via a

  • Set WYSIWYG_EXCLUDE = calls

Usage: the name of comments separated by | * Set WYSIWYG_OK_CALLS = COMMENT|CALENDAR

Issues:

  • The variable value are passed directly as a perl regexp part, thus presenting probably a security risk

Doc:

At the end of the Editor Control section, add:

If you excluded calls in WYSIWYG_EXCLUDE, you can add in the preference variable WYSIWYG_OK_CALLS the list of call you tolerate for Wysiwyg editing, as a list of call names separated by vertical bars, with no spaces, e.g:
  • Set WYSIWYG_OK_CALLS = COMMENT|CALENDAR|INCLUDE

CN

Also add Koen Martens templatetopic patch

CC

ItemTemplate
Summary WYSIWYG_OK_CALLS variable, exceptions to WYSIWYG_EXCLUDE=calls
ReportedBy TWiki:Main.ColasNahaboo
Codebase

SVN Range Tue, 21 Feb 2006 build 8854
AppliesTo Extension
Component WysiwygPlugin
Priority Enhancement
CurrentState Closed
WaitingFor

Checkins 11539
TargetRelease major
Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatpatch exclude_calls_ok.patch r1 manage 1.2 K 2006-02-21 - 14:12 UnknownUser Patch to WysiwygPlugin.pm
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r5 - 2006-09-20 - CrawfordCurrie
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback