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

Add WYSIWYG Format <verbatim class="css">

Our Company uses foswiki as documentation platform. In our topics are many bash-scripts included. I have installed the JQueryChili plugin for syntax highlighting. To enable the Chili-plugin, I have to put the text into
<verbatim class="bash"> </verbatim>


But the WYSIWYG VERBATIM format adds
<verbatim> </verbatim>


Is it possible to add another format to the WYSIWYG editor which puts the text into verbatim class="bash" tags?

-- KlausReithmaier - 31 Oct 2012

Changes have already been checked into 1.1.6 and 1.2 for this.

See distro:4ab726258508 and Tasks.Item12201

-- GeorgeClark - 31 Oct 2012

Oh... and to access them, create the verbatim block, and then right-click in the block to get the context menu. From there you can select the type of highlighting.

-- GeorgeClark - 31 Oct 2012

Ok, thanks, works perfectly. I changed the same lines that you changed in the file "editor_plugin_src.js": distro:4ab726258508

Now it's easy to understand for people who don't know what "jQuery chili" is.

-- KlausReithmaier - 02 Nov 2012

QuestionForm edit

Subject Using an extension
Extension WysiwygPlugin
Version Foswiki 1.1.5
Status Answered
Related Topics
Topic revision: r5 - 02 Nov 2012, KlausReithmaier - This page was cached on 17 Sep 2018 - 22:15.

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