cross
New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists
This question about Using an extension: Answered but needs rewriting

Automatic sticky tags?

This may be a more general question than just for this plugin, but I'm wondering if it might be possible and make sense to automatically include a <sticky> tag in the %CODE% macro and a </sticky> in the %ENDCODE% macro? I always want text between these two macros to be protected from reformatting by the WYSIWYG editor.

-- LeilaPearson - 09 Sep 2010

For what it's worth, if you can convert the CODE/ENDCODE to use XML-ish tags instead, you can register such a tag to be excluded from processing by WYSIWYG - api, and check out the code the for DirectedGraphPlugin which protects <dot>...</dot>

But to protect a CODE/ENDCODE section, I think that requires some more work on WysiwygPlugin.

(personally I wish we could make STARTSECTION/ENDSECTION smarter, and centralise section-like functionality into the Foswiki core, instead of having all these commonTagsHandler plugins).

-- PaulHarvey - 09 Sep 2010

QuestionForm edit

Subject Using an extension
Extension SyntaxHighlightingPlugin
Version Foswiki 1.0.9
Status Answered but needs rewriting
Topic revision: r2 - 09 Sep 2010, PaulHarvey - This page was cached on 13 Aug 2018 - 16:46.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy