• 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.

Specifically, pages that may cause a big problem to the editor. These may include:

  1. Pages with embedded HTML
  2. Pages with embedded %VARIABLES

CN


There will always be pages that the plugin cannot accurately parse, due to the "macro" nature of TML, and the sheer complexity of HTML. Pages containing complex searches are expecially vulnerable.

The proposal is to support a switch, say WYSIWYGEXCLUDE. This can be set as, for example:

  • Set WYSIWYGEXCLUDE = html,variables,calls
to disable wysiwyg editing on pages containing any HTML, %VARIABES% or %VARIABLES{}% in the source, or
  • Set WYSIWYGEXCLUDE = calls
to allow embedded HTML and %SIMPLE% variables, or
  • Set WYSIWYGEXCLUDE =
(the default) to allow editing of any page. This would be a Plugin variable that can be overridden on a per-user basis, so a user can
  • Set WYSIWYGPLUGIN_WYSIWYGEXCLUDE =
if they want to take the risk.

  • Set COMPOSER =
can still be used in pattern skin to disable wysiwyg totally on individual pages

CC

Implemented in SVN 8466

CC

ItemTemplate
Summary Need to be able to disable WYSIWYG editing on a content-sensitive basis
ReportedBy TWiki:Main.ColasNahaboo
Codebase

SVN Range Sun, 22 Jan 2006 build 8439
AppliesTo Engine
Component

Priority Urgent
CurrentState Closed
WaitingFor

Checkins 8463 8465 8466
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r5 - 2006-01-23 - 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