• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7700 for generic doc work for TWiki-6.0.2. Use View topic Item7703 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.

Item7787: Add ability to hide code / protect from WYSIWYG editor

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension TinyMCEPlugin Enhancement New      

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

Many people who use the WYSIWYG editor don't want to (or need to) see things such as HTML comments and certain TML sections. More to the point, WYSI editing of code sections can be problematic. Variables, plugin code, div directives, HTML comments, CSS... these things are far more likely to be broken by WYSI(A)WYG editing than simle TML content.

It would be convenient to be able to hide code directves from casual editors using the WYSIWYG editor, i.e. to let them see and edit only the textual content without ever being exposed to the back-end administrative "stuff". (If you use Raw mode editing, everything should be displayed as usual.)

Suggestion: Perhaps something like %<nop>STARTSECTION{"rawmode"}% ... %<nop>ENDSECTION {"rawmode"}% would be a good option. If we think of a topic as the "template" for the WYSI editor, there's a certain consistency to using SECTIONs.

-- TWiki:Main/VickiBrown - 2017-04-01

ItemTemplate
Summary Add ability to hide code / protect from WYSIWYG editor
ReportedBy TWiki:Main.VickiBrown
Codebase 6.0.2, 6.0.0, 5.0.0
SVN Range TWiki-6.0.2-trunk, Sun, 12 Feb 2017, build 30309
AppliesTo Extension
Component TinyMCEPlugin
Priority Enhancement
CurrentState New
WaitingFor

Checkins

TargetRelease

ReleasedIn

Topic revision: r1 - 2017-04-01 - VickiBrown
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback