Difference: WysiwygPlugin (1 vs. 8)

Revision 810 Aug 2008 - Main.TWikiContributor

Line: 178 to 178
 
Changed:
<
<
Plugin Authors: TWiki:Main.CrawfordCurrie http://www.c-dot.co.uk
>
>
Plugin Author(s): TWiki:Main.CrawfordCurrie http://www.c-dot.co.uk
 
Copyright © ILOG 2005 http://www.ilog.fr
License GPL (Gnu General Public License)
Changed:
<
<
Plugin Version: 03 Aug 2008 17302 (04 Aug 2008)
>
>
Plugin Version: 17359 (11 Aug 2008)
 
Change History:  
Changed:
<
<
03 Aug 2008 TWiki 4.2.1 release version
>
>
7 Aug 2008 Fixed TWikibug:Item5707 (mod_perl)
3 Aug 2008 TWiki 4.2.1 release version
 
25 May 2008 TWikibug:Item5457: TWikibug:Item5528: TWikibug:Item5626: using a debug simulation, I believe I have finally fixed all the complexities of using international character sets with the translator.
13 Apr 2008 TWikibug:Item4946: TWikibug:Item5530: I think I have finally fixed non-iso-8859-1 character sets. Painful. TWikibug:Item5393: removed spurious DIV generated by IE inside LI tags
31 Mar 2008 TWikibug:Item5314: TWikibug:Item5457: Fixed pickaxe mode for editing UTF-8. Characters above 255 are converted to entitites, which is a bit of a PITA, but at least it no longer corrupts topics.

Revision 703 Aug 2008 - Main.TWikiContributor

Line: 181 to 181
 
Plugin Authors: TWiki:Main.CrawfordCurrie http://www.c-dot.co.uk
Copyright © ILOG 2005 http://www.ilog.fr
License GPL (Gnu General Public License)
Changed:
<
<
Plugin Version: 16174 (22 Jan 2008)
>
>
Plugin Version: 03 Aug 2008 17302 (04 Aug 2008)
 
Change History:  
Added:
>
>
03 Aug 2008 TWiki 4.2.1 release version
25 May 2008 TWikibug:Item5457: TWikibug:Item5528: TWikibug:Item5626: using a debug simulation, I believe I have finally fixed all the complexities of using international character sets with the translator.
13 Apr 2008 TWikibug:Item4946: TWikibug:Item5530: I think I have finally fixed non-iso-8859-1 character sets. Painful. TWikibug:Item5393: removed spurious DIV generated by IE inside LI tags
31 Mar 2008 TWikibug:Item5314: TWikibug:Item5457: Fixed pickaxe mode for editing UTF-8. Characters above 255 are converted to entitites, which is a bit of a PITA, but at least it no longer corrupts topics.
28 Mar 2008 TWikibug:Item5294: fixed angle brackets in plain text and promoted sticky to be higher priority than any other tag, solving several problems in one go
24 Jan 2008 TWikibug:Item5257: remove extra spaces at end of Set lines
 
20 Dec 2007 TWikibug:Item5022: made TT font size same as verbatim. Had to add a new style to do it, as TMCE didn't want to play with TT or CODE tags. TWikibug:Item5138: post-conversion of 8-bit entities to characters to aid searching etc.
19 Dec 2007 TWikibug:Item4836: make the parser tolerant of META, so pasting OO docs works TWikibug:Item4969: autoclose BR and HR tags TWikibug:Item5132: fixed IMG tags TWikibug:Item5076: fixed line-sensitive TML embedded in tables
8 Nov 2007 TWikibug:Item4923: fixed blocking of table conversion due to empty attributes TWikibug:Item4936: An em embedded in an em was getting eaten TWikibug:Item4817: added typewriter text button TWikibug:Item4850: added font colour controls TWikibug:Item4645: added REST handlers for upload and fetching lists of attachments

Revision 622 Jan 2008 - Main.TWikiContributor

Line: 26 to 26
 

How it works

The plugin works by translating the topic text into HTML when someone edits a topic. The HTML is then fed to the WYSIWYG editor. On save, the edited HTML is run through the reverse translation before saving to the topic. TWiki syntax is used in preference to HTML in the stored topic wherever possible, though HTML may be used if the translator can't find a suitable TML equivalent..
Changed:
<
<
The default rendering that TWiki uses to generate HTML for display in browsers is 'lossy' - information in the TWiki syntax is lost in the HTML output, and a round-trip (recovering the original TWiki syntax from the HTML) is impossible. To solve this problem the plugin instead uses its own translation of TWiki syntax to pure XHTML. The generated XHTML is annotated with CSS classes that support the accurate recovery of the original TWiki syntax.
>
>
The default rendering that TWiki uses to generate HTML for display in browsers is 'lossy' - information in the TWiki syntax is lost in the HTML output, and a round-trip (recovering the original TWiki syntax from the HTML) is impossible. To solve this problem the plugin instead uses its own translation of TWiki syntax to XHTML. The generated XHTML is annotated with CSS classes that support the accurate recovery of the original TWiki syntax.
  Before you ask the obvious question, yes, the translator could be used to replace the TWiki rendering pipeline for generating HTML pages. In fact, the translator is taken almost directly from the implementation of the rendering pipeline for the TWiki-4 release
Changed:
<
<
Translation of the HTML back to TWiki syntax uses the CPAN:HTML::Parser. This parser is used in preference to a more modern XML parser, because the HTML may not generate fully compliant XHTML. A strict parser would risk losing content. CPAN:HTML::Parser is better at handling malformed HTML.
>
>
Translation of the HTML back to TWiki syntax uses the CPAN:HTML::Parser. This parser is used in preference to a more modern XML parser, because the WYSIWYG editor may not generate fully compliant XHTML. A strict parser would risk losing content. CPAN:HTML::Parser is better at handling malformed HTML.
 
Changed:
<
<
There is also the advantage that the translator can be used to import HTML from other sources - for example, existing web pages. Due to the simple nature of TWiki syntax and the potential complexity of web pages, this translation is often lossy - i.e there will be HTML features that can be entered by editors that will be lost in this translation step. This is especially noticeable with HTML tables.
>
>
There is also the advantage that the translator can be used to import HTML from other sources - for example, existing web pages. Due to the simple nature of TWiki syntax and the potential complexity of web pages, this translation is often lossy - i.e there will be HTML features that can be entered by editors that will be lost in this translation step. This is especially noticeable with HTML tables.
 

Using the translators from Perl scripts

Both translators can be used directly from Perl scripts, for example to build your own stand-alone translators.

Changed:
<
<
A stand-alone convertor script for HTML to TWiki is included in the installation. It can be found in the top-level tools directory and is called html2tml.pl.
>
>
A stand-alone convertor script for HTML to TWiki is included in the installation. It can be found in tools/html2tml.pl.
 
Changed:
<
<

Integrating a Wysiwyg Editor

The plugin can be used to generate HTML for an editor in two ways; first, by generating the HTML for the content-to-be-edited directly in the edit template, and second, through a URL that can be used to fetch the content-to-be-edited from the server.
>
>

Integrating a HTML Editor

The plugin can be used to integrate an HTML editor in a number of different ways.
  1. The HTML for the content-to-be-edited can be generated directly in the standard edit template.
  2. The HTML for the content-to-be-edited can be generated directly in a specialised edit template.
  3. A URL can be used to fetch the content-to-be-edited from the server, for use in an IFRAME.
  4. REST handlers can be called from Javacript to convert content.

Generating content directly in the standard edit template

This is the technique used by WYSIWYG editors that can sit on top of HTML textareas, such as TinyMCE. The topic content is pre-converted to HTML before inclusion in the standard edit template. These editors use plugins that have a beforeEditHandler and an afterEditHandler. These handlers are responsible for the conversion of topic text to HTML, and post-conversion of HTML back to TML.
  1. User hits "edit".
  2. Editor-specific plugin beforeEditHandler converts topic content to HTML by calling TWiki::Plugins::WysiwygPlugin::TranslateTML2HTML.
  3. User edits and saves
  4. Editor-specific plugin afterEditHandler converts HTML back to TML by calling TWiki::Plugins::WysiwygPlugin::TranslateHTML2TML.
  • WysiwygPlugin should not be enabled in configure.
  • WYSIWYGPLUGIN_WYSIWYGSKIN should not be set.
  • Your plugin should set the textareas_hijacked context id, to signal to skins to suppress their textarea manipulation functions.
This is the recommended integration technique, if your editor can support it.
 
Changed:
<
<

Getting content in the edit template

This is the scenario used by the standard TWiki text editor, except that the text is pre-converted to HTML before inclusion in the template.
>
>

Generating content directly in a specialised edit template

This technique is useful when the editor requires the topic content in a variety of different formats at the same time. In this scenario the editor uses a custom edit template. The WYSIWYG content is made available for instantiation in that template in a number of different formats. WYSIWYGPLUGIN_WYSIWYGSKIN must be set for this to work.
  The flow of control is as follows:
Changed:
<
<
  1. User hits "edit".
  2. The beforeEditHandler filters the edit, blocking any attempt to edit restricted content
  3. The edit template containing the JS editor is instantiated. The following variables are available for expansion in the template:
>
>
  1. User hits "edit" with the skin (or cover) set the same as WYSIWYGPLUGIN_WYSIWYGSKIN.
  2. The WysiwygPlugin beforeEditHandler determines if the topic is WYSIWYG editable, and vetos the edit if not by redirecting to the standard edit skin. the edit
  3. The edit template containing the JS editor is instantiated.
  4. The following variables are available for expansion in the template:
 
    • %WYSIWYG_TEXT% expands to the HTML of the content-to-be-edited. This is suitable for use in a textarea.
    • %JAVASCRIPT_TEXT% expands to the HTML of the content-to-be-edited in a javascript constant.
Added:
>
>
  1. User edits and saves
  2. The afterEditHandler in the WyswiygPlugin sees that wysiwyg_edit is set, which triggers the conversion back to TML.
 
Changed:
<
<
WYSIWYGPLUGIN_WYSIWYGSKIN must be set for this to work.
>
>
  • The HTML form in the edit template must include an <input called wysiwyg_edit and set it to 1, to trigger the conversion from HTML back to TML.
  • WYSIWYGPLUGIN_WYSIWYGSKIN must be set to the name of the skin used for WYSIWYG editing. This is usually the name of the editor e.g. kupu.
 

Fetching content from a URL

Changed:
<
<
In this scenario, the edit template is generated without the content-to-be-edited. The content is retrieved from the server using a URL e.g. from an IFRAME or using a XmlHttpRequest.
>
>
In this scenario, the edit template is generated without the content-to-be-edited. The content is retrieved from the server using a URL e.g. from an IFRAME.
  The flow of control is as follows:
Changed:
<
<
  1. User hits "edit".
  2. If the current skin = WYWIWYGPLUGIN_WYWIWYGSKIN, the beforeEditHandler filters the edit, blocking any attempt to edit restricted content.
  3. The edit template containing the JS editor is instantiated.
  4. JS editor invokes content URL to obtain the HTML document to be edited
>
>
  1. As Generating content directly in a specialised edit template
  2. As Generating content directly in a specialised edit template
  3. As Generating content directly in a specialised edit template
  4. When the document loads in the browser, the JS editor invokes a content URL (using an IFRAME or a XmlHttpRequest) to obtain the HTML document to be edited
 
    • The content URL is just a TWiki view URL with the wysiwyg_edit parameter set.
Changed:
<
<
    • The plugin recognises the wysiwyg_edit parameter and uses the
>
>
    • The WysiwygPlugin recognises the wysiwyg_edit parameter and uses the
  TML2HTML? translator to prepare the text, which is then returned as text/plain to the browser.
Changed:
<
<
    • Two TWiki variables, %OWEB% and %OTOPIC%=, should be used in the content URL to refer to the source topic for the content.
>
>
    • Two TWiki variables, %OWEB% and %OTOPIC%=, can be used in the content URL in the edit template to refer to the source topic for the content.
  1. After edit handling is as for Generating content directly in a specialised edit template
 
Changed:
<
<

Handling Saves

Saves are invoked by the editor POSTing to the TWiki save script with the wysiwyg_edit parameter set to 1. This parameter tells the beforeSaveHandler in the plugin to convert the HTML back to TML. See TWikiScripts for details of the other parameters to the save script.
>
>

Other techniques

Asynchronous saves

Editors can use XmlHttpRequest to perform saves, by POSTing to the TWiki save script with the wysiwyg_edit parameter set to 1. This parameter tells the beforeSaveHandler in the WysiwygPlugin to convert the content back to TML. See TWikiScripts for details of the other parameters to the save script.
  Once the save script has completed it responds with a redirect, either to an Oops page if the save failed, or to the appropriate post-save URL (usually a view). The editor must be ready to handle this redirect.

Handling Attachments

Changed:
<
<
Attachment uploads can be handled by URL requests from the editor to the TWiki
>
>
Attachment uploads can be handled by URL requests from the editor template to the TWiki
 upload script. The upload script normally redirects to the containing topic; a behaviour that you usually don't want in an editor! There are two ways to handle this:
  • If the uploads are done in an IFRAME or via XmlHttpRequest, then the 302 redirect at the end of the upload can simply be ignored.
  • You can pass noredirect to the upload script to suppress the redirect. In this case you will get a text/plain response of OK followed by a message if everything went well, or an error message if it did not.
Added:
>
>

REST handlers

If you are confident in Javascript you can use REST handlers with XmlHttpRequest to convert content from TML to HTML and back again.

The plugin defines the following REST handlers:

.../rest/WysiwygPlugin/html2tml?topic=Web.Topic;text=htmltexttotranslate

Converts the HTML text to TML. topic must be specified.

.../rest/WysiwygPlugin/tml2html?topic=Web.Topic;text=tmltexttotranslate

Converts the TML text to HTML. topic must be specified. The response is a text/plain page of converted content.

 

Plugin Installation Instructions

You do not need to install anything in the browser to use this extension. The following instructions are for the administrator who installs the extension on the server where TWiki is running.
Changed:
<
<
Like many other TWiki extensions, this module is shipped with a fully automatic installer script written using the BuildContrib.
  • If you have TWiki 4.1 or later, and Perl 5.8, you can install from the configure interface (Go to Plugins->Find More Extensions)
    • The webserver user has to have permission to write to all areas of your installation for this to work.
  • If you have a permanent connection to the internet (and Perl 5.8), you are recommended to use the automatic installer script
    • Just download the WysiwygPlugin_installer perl script and run it.
  • Notes:
    • The installer script will:
      • Automatically resolve dependencies,
      • Copy files into the right places in your local install (even if you have renamed data directories),
      • check in new versions of any installed files that have existing RCS histories files in your existing install (such as topics).
      • If the $TWIKI_PACKAGES environment variable is set to point to a directory, the installer will try to get archives from there. Otherwise it will try to download from twiki.org or cpan.org, as appropriate.
      • (Developers only: the script will look for twikiplugins/WysiwygPlugin/WysiwygPlugin.tgz before downloading from TWiki.org)
    • If you don't have a permanent connection, you can still use the automatic installer, by downloading all required TWiki archives to a local directory.
      • Point the environment variable $TWIKI_PACKAGES to this directory, and the installer script will look there first for required TWiki packages.
        • $TWIKI_PACKAGES is actually a path; you can list several directories separated by :
      • If you are behind a firewall that blocks access to CPAN, you can build a local CPAN mini-mirror, as described at http://twiki.org/cgi-bin/view/Codev/BuildingDakar#CPAN_local_minimirror
  • If you don't want to use the installer script, or have problems on your platform (e.g. you don't have Perl 5.8), then you can still install manually:
    1. Download and unpack one of the .zip or .tgz archives to a temporary directory.
    2. Manually copy the contents across to the relevant places in your TWiki installation.
>
>
Like many other TWiki extensions, this module is shipped with a fully automatic installer script written using the BuildContrib.
  • If you have TWiki 4.2 or later, you can install from the configure interface (Go to Plugins->Find More Extensions)
  • If you have any problems, then you can still install manually from the command-line:
    1. Download one of the .zip or .tgz archives
    2. Unpack the archive in the root directory of your TWiki installation.
    3. Run the installer script ( perl <module>_installer )
    4. Run configure and enable the module, if it is a plugin.
    5. Repeat for any missing dependencies.
  • If you are still having problems, then instead of running the installer script:
    1. Make sure that the file permissions allow the webserver user to access all files.
 
    1. Check in any installed files that have existing ,v files in your existing install (take care not to lock the files when you check in)
    2. Manually edit LocalSite.cfg to set any configuration variables.
Changed:
<
<
    1. Run configure and enable the module, if it is a plugin.
    2. Repeat from step 1 for any missing dependencies.
>
>
 

Plugin Configuration Settings

Translator control

Changed:
<
<
For any of the following controls to work, you must tell WysiwygPlugin the name of the skin being used to invoke the Wysiwyg editor, for example kupu or wikiwyg.
  • Set WYSIWYGSKIN =
Note that is can be set differently in different areas by defining WYSWIYGPLUGIN_WYSIWYGSKIN locally (e.g. in WebPreferences).

The global TWiki Variable WYSIWYG_EXCLUDE can be set to make the plugin sensitive to what is in a topic before allowing it to be edited. You can set it up to refuse to edit if

  • some or all of HTML tags (e.g. <br /> or <div>), or
  • simple variables (e.g. %VAR%) or
  • calls (e.g. %VARIABLE{...}%)
  • PRE blocks (<pre>)
  • HTML comments (<!-- ... -->)

are used in the topic. If the plugin detects an excluded construct in the topic, it will redirect to the default editor. Comma-separated list of one or more of html, variables, calls, pre or comments e.g.

  • Set WYSIWYG_EXCLUDE = calls,html
Set WYSIWYG_EXCLUDE in TWikiPreferences, or in WebPreferences for each web.
>
>
The global TWiki Variable WYSIWYG_EXCLUDE can be set to make the plugin sensitive to what is in a topic, before allowing it to be edited. You can set it up to veto an edit if the topic contains:
  • html - HTML tags (e.g. <div>, not including <br>), or
  • variables - simple variables (e.g. %VAR%) or
  • calls - TWiki variables with parameters e.g. %VARIABLE{...}%
  • pre blocks (<pre>)
  • HTML comments (<!-- ... -->)
If the plugin detects an excluded construct in the topic, it will refuse to allow the edit and will redirect to the default editor.

If you excluded calls in WYSIWYG_EXCLUDE, you can still define a subset of TWiki variables that do not block edits. this is done in the global TWiki variable WYSIWYG_EDITABLE_CALLS, which should be a list of TWiki variable names separated by vertical bars, with no spaces, e.g: * Set WYSIWYG_EDITABLE_CALLS = COMMENT|CALENDAR|INCLUDE

You should set WYSIWYG_EXCLUDE and WYSIWYG_EDITABLE_CALLS in TWikiPreferences, or in WebPreferences for each web.

You can define the global variable WYSIWYGPLUGIN_STICKYBITS to stop the plugin from ever trying to convert specific HTML tags into HTML when certain specific attributes are present on the tag. This is most useful when you have styling or alignment information in tags that must be preserved.

This variable is used to tell the translator which attributes, when present on a tag, make it "stick" i.e. block conversion. For example, setting it to table=background,lang;tr=valign will stop the translator from trying to handle any table tag that has background or lang attributes, and any tr tag that has a valign attribute.

You can use perl regular expressions to match tag and attribute names, so .*=id,on.* will ensure that any tag with an on* event handler is kept as HTML.

The default setting for this variable is:

    .*=id,lang,title,dir,on.*;
    A=accesskey,coords,shape,target;
    BDO=dir;
    BR=clear;
    COL=char,charoff,span,valign,width;
    COLGROUP=align,char,charoff,span,valign,width;
    DIR=compact;
    DIV=align;
    DL=compact;
    FONT=size,face;
    H\d=align;
    HR=align,noshade,size,width;
    LEGEND=accesskey,align;
    LI=type,value;
    OL=compact,start,type;
    P=align;
    PARAM=name,type,value,valuetype;
    PRE=width;
    Q=cite;
    TABLE=align,bgcolor,border,cellpadding,cellspacing,frame,rules,summary,width;
    TBODY=align,char,charoff,valign;
    TD=abbr,align,axis,bgcolor,char,charoff,colspan,headers,height,nowrap,rowspan,scope,valign,width;
    TFOOT=align,char,charoff,valign;
    TH=abbr,align,axis,bgcolor,char,charoff,colspan,height,nowrap,rowspan,scope,valign,width,headers;
    THEAD=align,char,charoff,valign;
    TR=bgcolor,char,charoff,valign;
    UL=compact,type

If you edit using the plain-text editor, you can use the <sticky>..</sticky> tags to delimit HTML (or TML) that you do not want to be WYSIWYG edited.

 
Changed:
<
<
If you excluded calls in WYSIWYG_EXCLUDE, you can still define a subset of TWiki variables that do not block edits. this is done in the global preference variable WYSIWYG_EDITABLE_CALLS, which should be a list of TWiki variable names separated by vertical bars, with no spaces, e.g:
  • Set WYSIWYG_EDITABLE_CALLS = COMMENT|CALENDAR|INCLUDE
>
>
Implementors note if you are using your own before/after edit handlers, you can call TWiki::Plugins::WysiwygPlugin::isWysiwygEditable() to check these controls.
 

Known issues

Line: 161 to 171
 

Plugin Info

Added:
>
>
This plugin is brought to you by a WikiRing partner - working together to improve your wiki experience!

Many thanks to the following sponsors for supporting this work:

 
Plugin Authors: TWiki:Main.CrawfordCurrie http://www.c-dot.co.uk
Copyright © ILOG 2005 http://www.ilog.fr
License GPL (Gnu General Public License)
Changed:
<
<
Plugin Version: 12422
Change History:  
12422 Added JAVASCRIPT_TEXT to support editors that require topic text in a JS var
12161 Added support for embedded editable HTML in the edit template
12119 Split into WysiwygPlugin and KupuContrib
11538 Minor doc updates, minor fixes to spacing in lists, integrated Koen Marten's template topic patch
9671 Item2025 corrected handling of SPAN and FONT tags used for colour changes
9566 Item1890 doc update
9565 Item1890 Item1041 Item944 Much more aggressive cleanup of HTML pasted in from external sources. Excessively verbose HTML (e.g. from Outlook) was causing apparent infinite looing behaviour.
8867 Item1176 commented out Cairo version of header handler
8780 Item1625 disable expansion of twiki variables in urls where there are other twiki variables that can't be expanded
8779 Item1530 support for templatetopic when editing new topics
8592 Item1532 WysiwygPlugin: Added two more do-not-edit-if-topic-contains parameters, pre+comments
8590 Item1532 WysiwygPlugin: Kenneths suggestion on proper handling of HTML comments (incl. change to kupu)
8572 Item1529 evil, evil. The XMLSerializer in IE isn't happy serializing the DOM. I have no idea why. Kupu manages to get away with this because it passes the DOM through the XML validator, which I had to disable because it strips comments. So, for now, the IE implementation will strip comments - but at least you can save again
8538 Item1501 table handling was a bit spazzy. Several problems fixed.
8535 Item1518 moved icon and string lists into topics, updated screenshot
8531 Item1392 reversed the sense of the navigate-away condition, again
8466 Item1486 added WYSIWYG_EXCLUDE to allow exclusion of 'uneditable' content
8463 Item1486 was stripping comments, wrongly. Had to disable the kupu filters completely, they just do too much damage.
8401 Item1457 corrected problem with bullet list at top of topic
8388 Item1445 fix for a javascript error, introduced by previous fix
8387 Item1445 small usability improvements
8334 Item663 TWiki.org doc merge: Fix incorrect link to kupu website
8327 Item1411 handle case of the result of a TWiki variable being nopped
8312 Item1317 wrong result returned from generation function when expanding HTML embedded in verbatim block
8301 Item1397 removed excess space after sqaub links
8300 Item1231 added %SPAN% to indicate a spanned-over cell in the editor. Improved handling of HTML in verbatim tags by inserting line breaks is the tag type calls for it, before removing the HTML.
8276 Item1215 added WYSIWYG_ICONS and WYSIWYG_TAGS to support user customisation of icon images and twiki variables that can be inserted
8274 Item1314 debugging in case the hang happens again; and made sure to default the editor just in case
8273 Item1315 short forms must be terminated by one of the same characters that terminate wikiwords
8272 Item1391 added special interpretation of IMG tags to expand selected TWiki variables within SRC attributes
8271 Item1340 refined handling of NOP to cover abbrevs
8270 Item1311 removed excess space inserted in headings
8269 Item1339 changed from using arbitrary attribute for notoc to a new CSS class. Arbitrary attributes are stripped by Kupu before save.
8268 Item1344 strip ^Ms inserted by Sarissa during serialisation on IE
8267 Item1394 still can't get text styles to work properly in IE; but I am now firmly of the opinion that the fault lies with the browser, and not with Kupu.
8232 Item1341 added appropriate CSS class
8152 Item1313 added caveat about editing complex HTML and mixed HTML-TML
8151 Item1334 headers not handled properly in Cairo version
8108 Item1318 corrected table/list parser for tables embedded in bulleted lists
8106 Item1310 support for <nop/>
8105 Item1317 support for limited case of nopped variable
8104 Item1320 corrected interpretation of relative URL path in [[]]
8091 Item1259 changed comment handling; rather than trying to create HTML, which gets munged, create an HTML comment. This will only be editable by switching to source view, but hey, it's supposed to be WYSIWYG. Note that this also means that comments in pasted HTML should be retained now
8063 Item1042 spec of SCRIPTURL changed
7904 Item1189 reverting accidental checkin of experimental code
7903 Item1189 filter whitelist is not good enough; need to generate B and I nodes. templates/ pub/TWiki/WysiwygPlugin
7902 Item1189 it took bloody ages to track down, but finally discovered that bold and italic were being filtered out of spans by Kupu 1.3.2.... too smart for it's own good. So added them to the filter whitelist, and it works again.
7873 Item1189 added pre save filter to try and find where the attributes are disappearing to in FF
7872 Item1187 for lack of an s on an RE, the nation was lost (well, the multi-line comment actually). Thanks Kenneth!
7871 Item859 solved issue with non-display of inserted images. Was due to the use of an onSubmit handler to close the dialog, rather than an onLoad handler triggered when the IFRAME that contains the result is loaded.
7869 Item1172 had to rewrite big chunk of the table popup to get it working with 1.3.2
7858 Item1151 rewrote link handlings stuff to leverage browser better
7854 Item1175 escape wikiwords within squabs
7815 Item1158 works for Cairo now as well
7814 Item1158 first implementation of AJAX interface to allow selectoin of topics from other webs
7812 Item1154 removed non-existent scull.gif
7811 Item1155 added extra recursion block, as Item1155 suggests it is needed
7801 Item1042 All sorts of clever tricks to handle expansion/compression of a subset of TWiki variables when they are used in URLs. Not a complete solution, but better than it was.
7799 Item1024 caught out by recursive call to beforeCommonTagsHandler in Cairo (nasty)
7798 Item1042 whoops, broke \t conversion in Cairo
7789 Item1140 testcase for 1140
7788 Item1140 fix rewriting of img src urls (and updated MANIFEST for Kupu1.3.2)
7786 Item1042 extensive improvements to variable and URL recognition and conversion
7766 Item856 added doc on EDIT_SKIN to the plugin
7712 Item1074 upgrade to Kupu 1.3.2 complete (at last)
7710 Item1074 Fixed source edit mode
7709 Item1074 tidied up broken toolbar. There are still known issues
7700 Item1074 first pass at moving to Kupu 1.3.2.
7673 Item1037 insert wikiword only if selection is zero length
7672 Item977 changed to remove dangerous Cairo-based assumption, and use context ids instead
7630 Item1025 added 'escape clause' for old handlers implemented to support old TWiki releases without warnings
7506 Item941 Eliminated the last of the dynamic globals to try and solve saving problem. Can;t test with mod_perl, but is fine with speedycgi AFAICT
7456 Item873 minor issue; replace br with \n in pre
7455 Item873 obvious problem parsing closing pre tag on same line as open tag
7453 Item710 Handling HTML comments
7452 Item876 Item945: Item876: spacing around table cells, correct handling of variables. Had to compromise on handling [[]] but I think it's for the best.
7430 Item871 made sure that brackets are generated for non-wikiwords
7425 Item928 removed special interpretation of mailto links
7424 Item866 extended URL parsing to handle MAINWEB and TWIKIWEB twiki variables, in the same hacky way as the core.
7416 Item870 a couple of corner-cases for correct handling of twiki variables
7401 Item899 changed list generation to use spaces instead of tabs
7265 Item180 removed pointless, outdated dependency check from DateFieldPlugin?
6935 Item622 reverted 3 specs to tabs in Set lines in plugins topics for kompatterbility with Kigh-roe
6905 Item622 tabs -> 3 spacesto avoid confusing the users
6850 Item638 added instruction to run configure to all install docs (I hope)
6827 Item569 added default RELEASE to everything that had a version, and removed a load of dead code that was getting in the way
6758 Item569 computed version numbers for plugins from the repository rev they were built from.
6504 Item436 incremented vernos of all changed plugins
6485 Item429 trying to make access controls clearer
6401 Item340 re-initialisation bug found by ColasNahaboo? when using mod_perl; fixed by correctly re-initialising the parse stack for each run of the convertor
6284 Item340 Release 0.16 of WysiwygPlugin
6279 Item340 bugfixes for release 0.16 of WysiwygPlugin
6261 Item335 Switched PNGs to indexed mode, as transparency doesn't work on IE for RGB images
6238 Item332 Added context identifier to WysiwygPlugin, and a button to the pattern view template. If WysiwygPlugin is enabled, then the button will appear. Neat, huh?
6195 Item196 getting plugin test suites to pass. Doesn't mean the plugins actually work, just that the test suites run (which is a good indicator)
6174 Item168 checkpoint checking for 0.16
6151 Item186 more minor updates
6150 Item168 new icons, and a couple of bugfixes, to WysiwygPlugin
6092 Item196 more plugin and contrib fixes for develop; mainly just moving tests around and making sure they all pass.
6067 Item138 had to change to using beforeCommonTagsHandler and also escape % signs to prevent TWiki from rendering internal tags (as reported by Colas)
5979 Item168 corrected stupid error on IE; added screenshot
5977 Item168 release 0.13
5948 Item168 nearly ready for 0.13
5937 Item168 corrected images, twikified all images
5936 Item168 the import from cvs has screwed images
5934 Item168 twikified icon images, and renamed some images to be more intention-revealing
5739 0.12 beta release
5730 V0.11
5714 Tidied up installer, documentation. Release 0.10
5712 pre-release 0.06
5706 Version 0.05
5705 Checkpoint checking - version 0.03
5702 cvsrmtee old files
5701 Check in for prototype release
5700 Check in for prototype release
5699 Checkpoint
5698 Most of the toolboxes are working again
5693 Initial commit; doesn't do much except run tests
>
>
Plugin Version: 16174 (22 Jan 2008)
Change History:  
20 Dec 2007 TWikibug:Item5022: made TT font size same as verbatim. Had to add a new style to do it, as TMCE didn't want to play with TT or CODE tags. TWikibug:Item5138: post-conversion of 8-bit entities to characters to aid searching etc.
19 Dec 2007 TWikibug:Item4836: make the parser tolerant of META, so pasting OO docs works TWikibug:Item4969: autoclose BR and HR tags TWikibug:Item5132: fixed IMG tags TWikibug:Item5076: fixed line-sensitive TML embedded in tables
8 Nov 2007 TWikibug:Item4923: fixed blocking of table conversion due to empty attributes TWikibug:Item4936: An em embedded in an em was getting eaten TWikibug:Item4817: added typewriter text button TWikibug:Item4850: added font colour controls TWikibug:Item4645: added REST handlers for upload and fetching lists of attachments
2 Nov 2007 TWikibug:Item4903: corrected over-enthusiastive interpretation of ! as an escape
21 Oct 2007 TWikibug:Item4788: fixed unbalanced protect, which could cause loss of protected status TWikibug:Item4811: noautolink looks like an HTML construct but in fact is not; the tag is infact an "on-off" switch and does not imply any HTML structure, so cannot be converted to a DIV or a span, so has to be removed. TWikibug:Item4747: added <sticky> to try to overcome limitations in translation TWikibug:Item4831: added increased flexibility in deciding what HTML get converted to TML, and what does not. Analysed all the HTML4 tags to establish initial settings. TWikibug:Item4847: don't call non-existent function with older HTML::Parser releases TWikibug:Item4844: Saving a table from IE didn't convert it back to TML TWikibug:Item4855: table rows generated from TWiki variables were being eaten
6 Oct 2007 TWikibug:Item4700: fixed colspans TWikibug:Item4701: removed extra line between %TABLE and the table TWikibug:Item4705: fixed spacing around literal and verbatim blocks TWikibug:Item4706: merge adjacent verbatim blocks separated only by whitespace TWikibug:Item4712: fixed eating of noautolink and literal TWikibug:Item4763: list items spanning multiple lines fixed TWikibug:Item4867: released tml2html
17 Sep 2007 TWikibug:Item4647: TWikibug:Item4652: problems related to DIV fixed. TWikibug:Item4653: fixed multi-line twiki variables
16 Sep 2007 TWikibug:Item4630: polished up the way the secret string is done, to ensure synch between perl and JS. Item4622: added UTF-8 handling steps that fixup malformed UTF8 strings before presenting them to the editor (saves Moz) and stops the editor passing them back to TWiki (saves IE). Removed extra entity decoding steps that were causing problems. TWikibug:Item4629: fixed issues with verbatim, highlighted by previous mangling of this topic
13 Sep 2007 TWikibug:Item4613 cleaned up spurious message when navigating away TWikibug:Item4615 fixed incorrect rendering of emphasis next to br
12 Sep 2007 TWikibug:Item4604 Fixes to REST handler, and add ability to trigger HTML2TML? conversion from a content comment alone (required for some editors) TWikibug:Item4588 fixes to conversion of double-character emphases
7 Sep 2007 TWikibug:Item4503 excess empty lines TWikibug:Item4486 no toc headers with unofficial syntax TWikibug:Item4560: empty lines lost TWikibug:Item4566: corrupted table on save TWikibug:Item4550 section tags being eaten
4 Sep 2007 TWikibug:Item4534 TWikibug:Item4535 fixed
See Subversion logs for earlier revisions
 
Dependencies:
NameVersionDescription
HTML::Parser>=3.28Required. Available from CPAN.
HTML::Entities>=1.25Required. Available from CPAN.
Plugin Home: http://twiki.org/cgi-bin/view/Plugins/WysiwygPlugin
Feedback: TWiki:Plugins/WysiwygPluginDev
Line: 293 to 205
 
<-- Do not attempt to edit this topic; it is auto-generated. Please add comments/questions/remarks to the Dev topic instead. -->
Added:
>
>
META FILEATTACHMENT attr="h" comment="" name="wikiringlogo20x20.png" version="1"

Revision 516 Jan 2007 - Main.TWikiContributor

Line: 1 to 1
 

Wysiwyg Plugin

Added:
>
>
<-- 
  • Set SHORTDESCRIPTION = Translator framework for Wysiwyg editors
-->
<-- Do not attempt to edit this topic; it is auto-generated. Please add comments/questions/remarks to the Dev topic instead. -->
Translator framework for Wysiwyg editors
 
Changed:
<
<
Support for the integration of WYSIWYG (What-You-See-Is-What-You-Get) editors. Comes bundled with a complete integration of the feature-rich Kupu editor.
>
>
Support for the integration of WYSIWYG (What-You-See-Is-What-You-Get) editors. On its own, the only thing this plugin gives you is a stand-alone HTML to TWiki translator script. For WYSIWYG editing in TWiki, you will also need to install a specific editor package such as TWiki:Plugins.KupuEditorContrib or TWiki:Plugins.WikiwygContrib.
 
Changed:
<
<
Screenshot

The plugin is a generic framework that supports editing of TWiki topics using any browser-based HTML editor. It works by transforming TML (TWiki Meta Language) into HTML for the editor and then transforming HTML back into TML on save. These steps can be separated to support the import of HTML from external sources such as existing web pages.

The plugin should operate with TWiki20040904 as well as TWiki-4.0.0 and later.

Caveat: WysiwygPlugin is designed for editing TWiki topics, not as a general purpose HTML editor. It will work fine on topics that contain text, TML formatting, and most HTML. However, because of the complexity of transforming TML into HTML and back, complex TML, and mixing HTML and TML may not give the results you expect. You are recommended to use the standard browser textarea editor for editing existing topics that contain mixed HTML and TML, or complex %TML%-type variables.

>
>
This plugin provides a generic framework that supports editing of TWiki topics using any browser-based HTML editor. It works by transforming TML (TWiki Meta Language) into HTML for the editor, and then transforming HTML back into TML on save.
 
On this page:

Features

  • Supports the input of malformed HTML
  • Full round-trip (TML -> XHTML -> TWiki syntax)
Changed:
<
<
  • Framework is editor agnostic
  • Customised Kupu editor included
>
>
  • Framework is editor-agnostic
 

Details

What's in the package

Line: 24 to 22
 
  • TML (TWiki syntax) to HTML translator
  • HTML to TML translator (with stand-alone script)
  • Generic TWiki plugin for automating the translation during editing
Deleted:
<
<
  • Kupu editor integration, implemented as a TWiki skin

How to use the editor

Basic help for most of the functions in the toolbar is available by "hovering" the mouse over the button. Some functions require a bit more explanation:
  • "Insert No-Op" inserts a <nop> region. Any TWiki syntax such as wikiwords or variables inside the region will be disabled in the rgeion. $lt;nop> regions may not extend over line breaks.
  • The rightmost drop-down will give you a menu of TWiki variables that can be inserted. Any of these variables can be edited after they have been placed in the text, for example to add parameters.
  • "Insert a WikiWord" will give you a menu of topics in the current web that can be inserted. Topics are inserted as links, though typing wikiwords in plain text will work just as well.
  • Watch out for the <> button on the right of the toolbar. It lets you switch into an HTML view, which can be very useful when you can't get your formatting right.
  • In TWiki, a totally empty table cell causes the cell to be merged with the cell immediately to the left. To make this effect more transparent in the editor, these empty cells are shown with the text "%SPAN%" in them. In Kupu, if you add %SPAN% to a table cell, then all the rest of the content will be thrown away and the cell will be converted to an empty table cell. Note that this only applies to tables that are converted to TWiki syntax.

Kupu Notes

The version of Kupu shipped with this plugin is an uncustomised basic Kupu release. All the TWiki customisation is done as plugins and extensions to Kupu - the basic kupu code is shipped completely intact.
 

How it works

Changed:
<
<
The plugin works by translating the topic text into HTML, which is then fed to the editor. The edited HTML is then run through the reverse translation before saving to the topic. TWiki syntax is used in preference to HTML in the stored topic wherever possible, though HTML may be used if the translator can't find a suitable TML equivalent..
>
>
The plugin works by translating the topic text into HTML when someone edits a topic. The HTML is then fed to the WYSIWYG editor. On save, the edited HTML is run through the reverse translation before saving to the topic. TWiki syntax is used in preference to HTML in the stored topic wherever possible, though HTML may be used if the translator can't find a suitable TML equivalent..
 
Changed:
<
<
The default rendering that TWiki uses to generate HTML for browsers is 'lossy' - information in the TWiki syntax is lost in the HTML output, and a round-trip (recovering the original TWiki syntax from the HTML) is impossible. To solve this problem the plugin instead uses its own translation of TWiki syntax to pure XHTML. The generated XHTML is annotated with CSS classes that support the accurate recovery of the original TWiki syntax.
>
>
The default rendering that TWiki uses to generate HTML for display in browsers is 'lossy' - information in the TWiki syntax is lost in the HTML output, and a round-trip (recovering the original TWiki syntax from the HTML) is impossible. To solve this problem the plugin instead uses its own translation of TWiki syntax to pure XHTML. The generated XHTML is annotated with CSS classes that support the accurate recovery of the original TWiki syntax.
 
Changed:
<
<
(before you ask the obvious question, yes, the translator could be used to replace the TWiki rendering pipeline for generating HTML pages. In fact, the translator is taken almost directly from the implementation of the rendering pipeline for the TWiki 'Dakar' release)
>
>
Before you ask the obvious question, yes, the translator could be used to replace the TWiki rendering pipeline for generating HTML pages. In fact, the translator is taken almost directly from the implementation of the rendering pipeline for the TWiki-4 release
 
Changed:
<
<
Translation of the HTML back to TWiki syntax uses the CPAN:HTML::Parser. This parser is used in preference to a more modern XML parser, because the HTML may not generate fully compliant XHTML. A strict parser would risk losing content. CPAN:HTML::Parser is better at handling malformed syntax.
>
>
Translation of the HTML back to TWiki syntax uses the CPAN:HTML::Parser. This parser is used in preference to a more modern XML parser, because the HTML may not generate fully compliant XHTML. A strict parser would risk losing content. CPAN:HTML::Parser is better at handling malformed HTML.
 
Changed:
<
<
There is also the advantage that the translator can be used to import HTML from other sources - for example, existing web pages. Due to the simple nature of TWiki syntax and the complexity of HTML, this translation is lossy - i.e there will be HTML features that can be entered by editors that will be lost in this translation step. This is especially noticeable with HTML tables.
>
>
There is also the advantage that the translator can be used to import HTML from other sources - for example, existing web pages. Due to the simple nature of TWiki syntax and the potential complexity of web pages, this translation is often lossy - i.e there will be HTML features that can be entered by editors that will be lost in this translation step. This is especially noticeable with HTML tables.
 

Using the translators from Perl scripts

Both translators can be used directly from Perl scripts, for example to build your own stand-alone translators.

Changed:
<
<
An example stand-alone convertor script for HTML to TWiki is included in the installation. It can be found in the top-level tools directory and is called html2tml.pl.
>
>
A stand-alone convertor script for HTML to TWiki is included in the installation. It can be found in the top-level tools directory and is called html2tml.pl.
 
Changed:
<
<

Plugin Installation Instructions

  • Download the ZIP file from the Plugin web (see below)
  • Unzip WysiwygPlugin.zip in your twiki installation directory. Content:
    File:
    <-- -->
    Sorted ascending
    Description:
    data/TWiki/WysiwygPlugin.txt Documentation and settings
    data/TWiki/WysiwygPluginTopicLister.txt Special AJAX topic
    lib/TWiki/Plugins/WysiwygPlugin.pm Perl module
    lib/TWiki/Plugins/WysiwygPlugin/HTML2TML.pm Perl module
    lib/TWiki/Plugins/WysiwygPlugin/HTML2TML/Leaf.pm Perl module
    lib/TWiki/Plugins/WysiwygPlugin/HTML2TML/Node.pm Perl module
    lib/TWiki/Plugins/WysiwygPlugin/HTML2TML/WC.pm Perl module
    lib/TWiki/Plugins/WysiwygPlugin/TML2HTML.pm Perl module
    pub/TWiki/WysiwygPlugin/_kupu/__init__.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/kupu/body.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/kupu/exit.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/kupu/include.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/kupu/kupudrawerstyles.css Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/kupu/kupumacros.html Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/kupu/kupustyles.css Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/kupu/lenya.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/kupu/lenya.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/kupu/toolbar.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/kupu/toolboxes.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/kupu/wire.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/kupu/xmlconfig.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/lenya/content2edit.xsl Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/lenya/drawers/imagedrawer.xsl Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/lenya/drawers/imagelibraries.xml.jx Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/lenya/drawers/kupudrawerstyles.css Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/lenya/drawers/libraries.xml.jx Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/lenya/drawers/linkdrawer.xsl Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/lenya/drawers/linklibraries.xml.jx Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/lenya/drawers/publication_image_library.xml.jx Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/lenya/drawers/sitetree_link_library.xml.jx Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/lenya/i18n.xsl Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/lenya/images/emblem-generic.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/lenya/images/exit.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/lenya/images/page-image.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/lenya/images/pub-image.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/lenya/images/right_arrow.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/lenya/images/sitetree-link.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/lenya/kupumacros.xsl Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/lenya/kupusave.xsl Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/lenya/page2kupu.xsl Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/lenya/pageassets2kupulibrary.xsl Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/lenya/sitetree2kupulibrary.xsl Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/README.txt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/cnf/head.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/cnf/include.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/cnf/toolboxes.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/cnf/wire.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/cnf/xmlconfig.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/fulldoc.html Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupu-pox.cgi Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupu.cgi Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupu.html Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupu.pox Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupu.pox.jspx Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupubasetools.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupubeforeunload.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupublank.html Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupucleanupexpressions.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupucnf.html Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupucnftable.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupucontentfilters.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupucontentstyles.css Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupucontextmenu.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/allimages.xml Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/drawer.xsl Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/drawer.xsl.metadata Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/imagelibrary.xml Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/kupubuttons.xml Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/linklibrary.xml Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos.xml Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/bitflux_logo_preview.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/bitflux_logo.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/bubnbros_preview.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/bubnbros.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/codespeak_logo_preview.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/codespeak_logo.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/diver_logo_preview.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/diver_logo.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/eth_logo_preview.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/eth_logo.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/infrae_logo_preview.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/infrae_logo.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/kupu_logo_preview.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/kupu_logo.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/lenya_logo_preview.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/lenya_logo.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/opensource_preview.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/opensource.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/oscom_logo_preview.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/oscom_logo.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/oscom4_banner_preview.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/oscom4_banner.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/plone_logo_preview.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/plone_logo.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/pypy_logo_preview.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/pypy_logo.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/silva_logo_preview.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/silva_logo.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/twiki_logo.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/twiki_logo.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/zea_logo_preview.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/zea_logo.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/zope_logo_preview.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/zope_logo.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawerstyles.css Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupueditor.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuform.html Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuhelpers.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/background-color.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/bold.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/bold.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/buttons.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/caret.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/closed.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/copy.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/create-new.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/cut.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/definitionlist.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/document.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/exit.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/exthyperlink.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/folder.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/fonts.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/format.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/hr.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/image.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/indent.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/indent.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/inthyperlink.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/italic.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/italic.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/justify-center.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/justify-full.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/justify-left.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/justify-right.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/kupu_icon.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/kupulibrary.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/kupusearch_icon.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/larger-text.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/link.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/opened.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/ordered-list.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/outdent.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/paste.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/redo-disabled.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/redo.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/remove.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/save.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/size.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/smaller-text.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/space.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/strikethrough.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/subscript.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/superscript.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/table.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/text-check.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/text-color.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/toolbarbg_blue.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/toolbarbg_green.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/toolbarbg_purple.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/toolbarbg_wood.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/underline.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/underline.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/undo-disabled.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/undo.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/unlink.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/unordered-list.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/view-source.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/zoom-in.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/zoom-out.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuinit_experimental.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuinit_form.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuinit_genericelements.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuinit_multi.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuinit.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuinspector.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuloggers.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupumacros.html Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupumulti.html Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupumultieditor.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupunoi18n.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupupopups/image.html Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupupopups/link.html Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupusaveonpart.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupusourceedit.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuspellchecker.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupustart_form.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupustart_multi.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupustart.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupustyles.css Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kuputoolcollapser.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/sarissa_ieemu_xpath.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/sarissa.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/spellcheck.cgi Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/config.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/configure.zcml Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/default/body.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/default/colorchooser.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/default/contextmenu.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/default/drawers.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/default/form.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/default/head.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/default/html.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/default/include.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/default/save.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/default/saveonpart.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/default/sourceedit.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/default/spellchecker.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/default/toolbar.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/default/toolboxes.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/default/wire.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/default/xmlconfig.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/dist-apache-lenya.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/dist-cnf.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/dist-form.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/dist-multi.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/dist-plone.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/dist-silva.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/dist-zope2.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/dist.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/doc/BEFOREUNLOAD.txt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/doc/CHANGES.txt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/doc/CONTRIBUTING.txt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/doc/CREDITS.txt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/doc/CUSTOMIZING.txt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/doc/default.css Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/doc/docutils.conf Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/doc/EXTENDING.txt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/doc/FAQ.txt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/doc/file-template Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/doc/IMAGEUPLOADER.txt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/doc/INSTALL.txt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/doc/JSAPI.txt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/doc/LIBRARIES.txt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/doc/LICENSE.txt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/doc/OLDBROWSERS.txt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/doc/PLONE2.txt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/doc/README.txt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/doc/STYLEGUIDE.txt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/doc/TEMPLATE-SYSTEM.txt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/doc/TODO.txt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/doc/ZOPE2.txt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/Extensions/Install.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/form/body.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/form/head.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/form/include.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/form/save.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/i18n/kupu-cs.po Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/i18n/kupu-da.po Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/i18n/kupu-de.po Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/i18n/kupu-el.po Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/i18n/kupu-eo.po Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/i18n/kupu-fi.po Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/i18n/kupu-fr.po Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/i18n/kupu-he.po Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/i18n/kupu-ja.po Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/i18n/kupu-nl.po Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/i18n/kupu-pt-br.po Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/i18n/kupu-pt.po Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/i18n/kupu-sr-Latn.po Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/i18n/kupu-sr.po Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/i18n/kupu-zh-cn.po Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/i18n/kupu-zh.po Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/i18n/kupu.pot Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/i18n/kupuconfig-da.po Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/i18n/kupuconfig-fr.po Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/i18n/kupuconfig-ja.po Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/i18n/kupuconfig.pot Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/include.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/kupu_icon.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/kupu-i18nextract-sa-diff.patch Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/make-jspx.xsl Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/make.bat Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/make.xsl Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/Makefile Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/multi/body.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/multi/head.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/multi/include.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/multi/save.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/multi/toolboxes.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/__init__.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/beforeunload.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/body.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/drawers.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/head.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/html2captioned.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/include.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/interfaces.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_config.pt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/contentUsesKupu.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/convertContentForKupu.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/emptypage.pt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/kupu_wysiwyg_support.html Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/kupublank.html.html Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/kupucollection.xml.pt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/kupucollection.xml.pt.metadata Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/kupuGetResourceTypes.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/kupuInfoForBrains.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/kupulibraries.xml.pt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/kupuMyItems.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/kupumyitems.xml.pt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/kupuplone.css.dtml Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/kupuploneeditor.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/kupuploneinit.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/kupuploneui.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/kupuRecentItems.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/kupurecentitems.xml.pt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/kupusaveonpart.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/kupuSearch.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/kupusearch.xml.pt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/kupuUploadImage.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/kupuUploadImage.py.metadata Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/anchor.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/bgcolor.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/bold.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/center.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/definitionlist.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/delete_icon.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/hr.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/hyperlink.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/indent.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/italic.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/left_just.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/list.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/numbered_list.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/outdent.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/redo.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/right_just.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/space.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/strikethrough.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/subscript.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/superscript.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/table.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/textcolor.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/tools.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/underline.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/undo.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/unformat.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/view-source.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/resolveuid.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/sample-kupu-customisation-policy.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/wysiwyg_support.pt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu2html.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/libraries.pt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/librarytool.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/permissions.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/plonelibrarytool.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/ReftextField.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/resource_types.pt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/scanner.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/sourceedit.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/tests/__init__.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/tests/framework.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/tests/input/baduid.in Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/tests/input/linked.in Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/tests/input/minimal.in Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/tests/input/notcaptioned.in Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/tests/input/notquoted.in Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/tests/input/simple.in Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/tests/output/baduid.out Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/tests/output/linked.out Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/tests/output/minimal.out Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/tests/output/notcaptioned.out Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/tests/output/notquoted.out Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/tests/output/simple.out Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/tests/runalltests.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/tests/runme.cmd Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/tests/test_browserSupportsKupu.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/tests/test_html2captioned.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/tests/test_librarymanager.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/tests/test_resourcetypemapper.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/TODO.txt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/toolbar.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/wire.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/wysiwyg_support.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/xmlconfig.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/zmi_docs.pt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/python/__init__.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/python/nationalizer.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/python/spellcheck.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/refresh.txt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/roundup/kupuinit.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/roundup/kupustyles.css Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/silva/body.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/silva/closed_arrow.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/silva/contextmenu.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/silva/drawers.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/silva/head.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/silva/imagedrawer.xsl.pt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/silva/include.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/silva/kupudrawerstyles.css Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/silva/kupumacros.html Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/silva/kupusilvainit.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/silva/kupusilvatools.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/silva/librarydrawer.xsl Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/silva/opened_arrow.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/silva/saveonpart.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/silva/toolbar.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/silva/toolboxes.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/silva/wire.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/silva/xmlconfig.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/tests/run_tests.html Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/tests/test_beforeunload.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/tests/test_kupubasetools.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/tests/test_kupubasetools.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/tests/test_kupueditor.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/tests/test_kupueditor.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/tests/test_kupuhelpers.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/tests/test_kupuhelpers.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/tests/test_kupuinit.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/tests/test_kupuinit.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/tests/test_plone.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/tests/test_xhtml.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/tools/compress.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/tools/convert_to_utf-8.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/tools/makepox.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/version.txt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/widgeteer/body.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/widgeteer/browser.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/widgeteer/dist.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/widgeteer/empty.html Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/widgeteer/head.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/widgeteer/include.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/widgeteer/kupuinit.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/widgeteer/kupustart.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/widgeteer/kupustyles.css Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/widgeteer/make.bat Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/widgeteer/Makefile Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/widgeteer/wire.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/widgeteer/xmlconfig.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/zope2/__init__.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/zope2/addKupuEditor.pt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/zope2/body.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/zope2/contextmenu.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/zope2/drawers.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/zope2/example.pt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/zope2/head.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/zope2/html.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/zope2/include.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/zope2/saveonpart.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/zope2/sourceedit.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/zope2/wire.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/zope2/xmlconfig.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/zope3/__init__.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/zope3/browser/__init__.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/zope3/browser/configure.zcml Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/zope3/configure.zcml Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/zope3/field.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/zope3/interfaces.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/bold.png Button image
    pub/TWiki/WysiwygPlugin/cancel.png Button image
    pub/TWiki/WysiwygPlugin/code.png Button image
    pub/TWiki/WysiwygPlugin/definition-list.png Button image
    pub/TWiki/WysiwygPlugin/exthyperlink.png Button image
    pub/TWiki/WysiwygPlugin/help.png Button image
    pub/TWiki/WysiwygPlugin/indent.png Button image
    pub/TWiki/WysiwygPlugin/inthyperlink.png Button image
    pub/TWiki/WysiwygPlugin/italic.png Button image
    pub/TWiki/WysiwygPlugin/kupuinit.js Kupu customisation
    pub/TWiki/WysiwygPlugin/kupustart.js Kupu customisation
    pub/TWiki/WysiwygPlugin/kuputwiki.css Kupu customisation
    pub/TWiki/WysiwygPlugin/new-attachment.png Button image
    pub/TWiki/WysiwygPlugin/new-image.png Button image
    pub/TWiki/WysiwygPlugin/nop.png Button image
    pub/TWiki/WysiwygPlugin/ordered-list.png Button image
    pub/TWiki/WysiwygPlugin/outdent.png Button image
    pub/TWiki/WysiwygPlugin/redo.png Button image
    pub/TWiki/WysiwygPlugin/remove.png Button image
    pub/TWiki/WysiwygPlugin/save.png Button image
    pub/TWiki/WysiwygPlugin/screenshot.jpg Screen shot
    pub/TWiki/WysiwygPlugin/separator.png Button image
    pub/TWiki/WysiwygPlugin/smiley.png Button image
    pub/TWiki/WysiwygPlugin/strings.png Button image
    pub/TWiki/WysiwygPlugin/table.png Button image
    pub/TWiki/WysiwygPlugin/text-color.png Button image
    pub/TWiki/WysiwygPlugin/twikitools.js Kupu customisation
    pub/TWiki/WysiwygPlugin/undo.png Button image
    pub/TWiki/WysiwygPlugin/unordered-list.png Button image
    pub/TWiki/WysiwygPlugin/vars.png Button image
    pub/TWiki/WysiwygPlugin/verbatim-watermark.png Watermark
    pub/TWiki/WysiwygPlugin/verbatim.png Button image
    pub/TWiki/WysiwygPlugin/view-source.png Button image
    templates/attachtables.kupu.tmpl Attachment table rendering for editor
    templates/edit.kupu.tmpl Template for an edit using kupu
    templates/view.kupu.tmpl Template for a kupu skin view, used by the editor
    templates/view.kupuxml.tmpl Template for AJAX data
    tools/html2tml.pl Stand-alone convertor script

  • Run WysiwygPlugin_installer to automatically check and install other modules that this module depends on. You can also do this step manually. Dependencies:
    NameVersionDescription
    HTML::Parser>=3.28Required. Available from CPAN.
    HTML::Entities>=1.25Required. Available from CPAN.
  • (Dakar) Visit configure in your TWiki installation, and enable the plugin in the {Plugins} section.
  • To enable the editor in one of your skins, add the following link to the skin alongside or in place of the existing 'edit' link:
    <a href="%SCRIPTURLPATH%/edit%SCRIPTSUFFIX%/%WEB%/%TOPIC%?skin=kupu">Kupu</a>
    As you can see this is just a standard edit link with the 'kupu' skin in place of the usual edit skin. Here it is for this topic: Kupu. Try clicking on it, but do not save!
>
>

Integrating a Wysiwyg Editor

The plugin can be used to generate HTML for an editor in two ways; first, by generating the HTML for the content-to-be-edited directly in the edit template, and second, through a URL that can be used to fetch the content-to-be-edited from the server.
 
Changed:
<
<

Plugin Configuration Settings

  • Set SHORTDESCRIPTION = Translator framework and WYSIWYG editor for TWiki topics
  • The name of the skin used to invoke a Wysiwyg editor.
    • Set WYSIWYGSKIN = kupu
  • Web/Topic name of a help page. Change this to point to your local version of the help page, which is brought up when the .
    • Set HELPPAGE = TWiki/WysiwygPlugin
>
>

Getting content in the edit template

This is the scenario used by the standard TWiki text editor, except that the text is pre-converted to HTML before inclusion in the template.
 
Changed:
<
<

Other Settings

>
>
The flow of control is as follows:
  1. User hits "edit".
  2. The beforeEditHandler filters the edit, blocking any attempt to edit restricted content
  3. The edit template containing the JS editor is instantiated. The following variables are available for expansion in the template:
    • %WYSIWYG_TEXT% expands to the HTML of the content-to-be-edited. This is suitable for use in a textarea.
    • %JAVASCRIPT_TEXT% expands to the HTML of the content-to-be-edited in a javascript constant.

WYSIWYGPLUGIN_WYSIWYGSKIN must be set for this to work.

Fetching content from a URL

In this scenario, the edit template is generated without the content-to-be-edited. The content is retrieved from the server using a URL e.g. from an IFRAME or using a XmlHttpRequest.

The flow of control is as follows:

  1. User hits "edit".
  2. If the current skin = WYWIWYGPLUGIN_WYWIWYGSKIN, the beforeEditHandler filters the edit, blocking any attempt to edit restricted content.
  3. The edit template containing the JS editor is instantiated.
  4. JS editor invokes content URL to obtain the HTML document to be edited
    • The content URL is just a TWiki view URL with the wysiwyg_edit parameter set.
    • The plugin recognises the wysiwyg_edit parameter and uses the TML2HTML? translator to prepare the text, which is then returned as text/plain to the browser.
    • Two TWiki variables, %OWEB% and %OTOPIC%=, should be used in the content URL to refer to the source topic for the content.

Handling Saves

Saves are invoked by the editor POSTing to the TWiki save script with the wysiwyg_edit parameter set to 1. This parameter tells the beforeSaveHandler in the plugin to convert the HTML back to TML. See TWikiScripts for details of the other parameters to the save script.

Once the save script has completed it responds with a redirect, either to an Oops page if the save failed, or to the appropriate post-save URL (usually a view). The editor must be ready to handle this redirect.

Handling Attachments

Attachment uploads can be handled by URL requests from the editor to the TWiki upload script. The upload script normally redirects to the containing topic; a behaviour that you usually don't want in an editor! There are two ways to handle this:
  • If the uploads are done in an IFRAME or via XmlHttpRequest, then the 302 redirect at the end of the upload can simply be ignored.
  • You can pass noredirect to the upload script to suppress the redirect. In this case you will get a text/plain response of OK followed by a message if everything went well, or an error message if it did not.
 
Changed:
<
<
The editor template includes a number of files that can be used for other settings. These files are not defined in the distribution, so that you can create your own local content.
>
>

Plugin Installation Instructions

You do not need to install anything in the browser to use this extension. The following instructions are for the administrator who installs the extension on the server where TWiki is running.
 
Changed:
<
<

TWiki.WysiwygPluginIcons

You can define a list of icons that will be available in the Kupu editor when the smiley.png toolbar button is pressed. This topic has to contain a list of <IMG> tags. If present, the 'alt' text will be used in place of the <IMG> tag when translating from HTML to TML. Example:
   <img src="%PUBURL%/TWiki/TWikiDocGraphics/tip.gif" />
   <img src="%PUBURL%/TWiki/TWikiDocGraphics/warning.gif" />
   <img src="%PUBURL%/TWiki/TWikiDocGraphics/pencil.gif" />
   <img src="%PUBURL%/TWiki/TWikiDocGraphics/choice-yes.gif" />
   <img src="%PUBURL%/TWiki/TWikiDocGraphics/updated.gif" />
   <img src="%PUBURL%/TWiki/TWikiDocGraphics/help.gif" />
   <img src="%PUBURL%/TWiki/TWikiDocGraphics/new.gif" />
   <img src="%PUBURL%/TWiki/TWikiDocGraphics/starred.gif" />
   <img src="%PUBURL%/TWiki/TWikiDocGraphics/arrowright.gif" />
>
>
Like many other TWiki extensions, this module is shipped with a fully automatic installer script written using the BuildContrib.
  • If you have TWiki 4.1 or later, and Perl 5.8, you can install from the configure interface (Go to Plugins->Find More Extensions)
    • The webserver user has to have permission to write to all areas of your installation for this to work.
  • If you have a permanent connection to the internet (and Perl 5.8), you are recommended to use the automatic installer script
    • Just download the WysiwygPlugin_installer perl script and run it.
  • Notes:
    • The installer script will:
      • Automatically resolve dependencies,
      • Copy files into the right places in your local install (even if you have renamed data directories),
      • check in new versions of any installed files that have existing RCS histories files in your existing install (such as topics).
      • If the $TWIKI_PACKAGES environment variable is set to point to a directory, the installer will try to get archives from there. Otherwise it will try to download from twiki.org or cpan.org, as appropriate.
      • (Developers only: the script will look for twikiplugins/WysiwygPlugin/WysiwygPlugin.tgz before downloading from TWiki.org)
    • If you don't have a permanent connection, you can still use the automatic installer, by downloading all required TWiki archives to a local directory.
      • Point the environment variable $TWIKI_PACKAGES to this directory, and the installer script will look there first for required TWiki packages.
        • $TWIKI_PACKAGES is actually a path; you can list several directories separated by :
      • If you are behind a firewall that blocks access to CPAN, you can build a local CPAN mini-mirror, as described at http://twiki.org/cgi-bin/view/Codev/BuildingDakar#CPAN_local_minimirror
  • If you don't want to use the installer script, or have problems on your platform (e.g. you don't have Perl 5.8), then you can still install manually:
    1. Download and unpack one of the .zip or .tgz archives to a temporary directory.
    2. Manually copy the contents across to the relevant places in your TWiki installation.
    3. Check in any installed files that have existing ,v files in your existing install (take care not to lock the files when you check in)
    4. Manually edit LocalSite.cfg to set any configuration variables.
    5. Run configure and enable the module, if it is a plugin.
    6. Repeat from step 1 for any missing dependencies.
 
Deleted:
<
<

TWiki.WysiwygPluginStrings

You can also define a list of strings that will be available for insertion in topics using the strings.png toolbar button. This topic has to contain a list of HTML 'option' tags. Example:
   <option value='-- <nop>%WIKIUSERNAME% - %DATE%'>Signature</option>
   <option value="%<nop>WIKINAME%">Wiki name (variable)</option>
   <option value='%<nop>SEARCH{"search for"}%'>Inline search (variable)</option>
   <option value='%<nop>INCLUDE{"topic or url"}%'>Include (variable)</option>
   <option value="%<nop>TOC%"> Table of Contents (variable)</option>
   <option value="%<nop>TOPIC%">Topic (variable)</option>
   <option value="%<nop>WEB%">Web (variable)</option>
   <option value="%<nop>DATE%"> Date (variable)</option>
The bit between the > < value defines text in the drop-down box in the editor, and the value defines the actual string inserted in the topic.

TWiki.WysiwygPluginLocalHelp

If it exists, the contents of this topic will be included and shown on the edit screen below the status bar. It is intended to be used for site-specific quick help information.
 
Changed:
<
<

Editor control

The global TWiki Variable WYSIWYG_EXCLUDE can be set to make the plugin sensitive to what is in a topic before allowing it to be edited. You can set it up to refuse to edit if
>
>

Plugin Configuration Settings

Translator control

For any of the following controls to work, you must tell WysiwygPlugin the name of the skin being used to invoke the Wysiwyg editor, for example kupu or wikiwyg.
  • Set WYSIWYGSKIN =
Note that is can be set differently in different areas by defining WYSWIYGPLUGIN_WYSIWYGSKIN locally (e.g. in WebPreferences).
 
Added:
>
>
The global TWiki Variable WYSIWYG_EXCLUDE can be set to make the plugin sensitive to what is in a topic before allowing it to be edited. You can set it up to refuse to edit if
 
  • some or all of HTML tags (e.g. <br /> or <div>), or
  • simple variables (e.g. %VAR%) or
Changed:
<
<
  • calls (e.g. %VARIABLE{...}%)
>
>
  • calls (e.g. %VARIABLE{...}%)
 
  • PRE blocks (<pre>)
  • HTML comments (<!-- ... -->)

are used in the topic. If the plugin detects an excluded construct in the topic, it will redirect to the default editor. Comma-separated list of one or more of html, variables, calls, pre or comments e.g.

Changed:
<
<
  • Set WYSIWYG_EXCLUDE = variables,calls (inactive; you need to remove monospacing from this setting to enable it)
>
>
  • Set WYSIWYG_EXCLUDE = calls,html
Set WYSIWYG_EXCLUDE in TWikiPreferences, or in WebPreferences for each web.
 
Changed:
<
<
If you are using this plugin with TWiki-4.0.0 or later with pattern skin, the %COMPOSER% global TWiki variable is used to control the skin used for the WYSIWYG editor link. You can define this variable to the empty string to disable WYSIWYG editing on a site, per-web, per-user or per-topic basis.
>
>
If you excluded calls in WYSIWYG_EXCLUDE, you can still define a subset of TWiki variables that do not block edits. this is done in the global preference variable WYSIWYG_EDITABLE_CALLS, which should be a list of TWiki variable names separated by vertical bars, with no spaces, e.g:
  • Set WYSIWYG_EDITABLE_CALLS = COMMENT|CALENDAR|INCLUDE
 
Changed:
<
<

Known Issues

Most of the known problems with the plugin are actually problems with the Kupu editor or the browser rather than the plugin.
>
>

Known issues

 

Incompatible with "non-standard" syntax

Changed:
<
<
WysiwygPlugin is Incompatible with plugins that expand non-standard syntax e.g. TWiki:Plugins.MathModePlugin (WysiwygPlugin)
>
>
WysiwygPlugin is incompatible with plugins that expand non-standard syntax e.g. TWiki:Plugins.MathModePlugin (WysiwygPlugin)
  Plugins that extend the syntax using TWiki variables, such as %MYVARIABLE%, should work fine.
Changed:
<
<

Can't undo all functions (Kupu + browser)

Due to limitations in the browser support for editing, not all functions can be undone. Also, the undo buffer can be cleared unexpectedly during editing, especially when using Internet Explorer.

Overlapping styles (WysiwygPlugin)

Because TWiki uses a "best guess" approach to some formatting, it allows overlapping of tags in a way forbidden by HTML, it is impossible to guarantee 100% that formating in the original TWiki document will still be there when the same document is loaded and then saved through the WysiwygPlugin. The most obvious case of this is to do with styles. For example, the sentence
>
>

Overlapping styles

Because TWiki uses a "best guess" approach to some formatting, it allows overlapping of tags in a way forbidden by HTML, and it is impossible to guarantee 100% that formating in the original TWiki document will still be there when the same document is loaded and then saved through the WysiwygPlugin. The most obvious case of this is to do with styles. For example, the sentence
 
*bold _bold-italic* italic_
Line: 633 to 159
  which is correct by construction, but does not render correctly in TWiki. This problem is unfortunately unavoidable due to the way TWiki syntax works.
Deleted:
<
<

Support for PRE

Because of limitations in the browsers, the editor does not support PRE blocks. All PRE blocks will be converted to TWiki verbatim blocks on save. This can cause some confusion, especially when editor formatting controls (such as "bold") have been used to format text in a PRE block. Users are advised to use only plain text in PRE (verbatim) blocks.
 

Plugin Info

Changed:
<
<
This plugin is heavily based on the TWiki::Plugins.KupuEditorAddOn, and the authors of that add-on are therefore also credited as authors of this plugin.

Plugin Authors: TWiki:Main.CrawfordCurrie http://www.c-dot.co.uk (from original work by TWiki:Main.RomainRaugi, TWiki:Main.DamienMandrioli, TWiki:Main.FredericLuddeni, and TWiki:Main.ColasNahaboo)
>
>
Plugin Authors: TWiki:Main.CrawfordCurrie http://www.c-dot.co.uk
 
Copyright © ILOG 2005 http://www.ilog.fr
Changed:
<
<
Plugin Version: 10613
>
>
License GPL (Gnu General Public License)
Plugin Version: 12422
 
Change History:  
Added:
>
>
12422 Added JAVASCRIPT_TEXT to support editors that require topic text in a JS var
12161 Added support for embedded editable HTML in the edit template
12119 Split into WysiwygPlugin and KupuContrib
11538 Minor doc updates, minor fixes to spacing in lists, integrated Koen Marten's template topic patch
 
9671 Item2025 corrected handling of SPAN and FONT tags used for colour changes
9566 Item1890 doc update
9565 Item1890 Item1041 Item944 Much more aggressive cleanup of HTML pasted in from external sources. Excessively verbose HTML (e.g. from Outlook) was causing apparent infinite looing behaviour.
Line: 758 to 284
 
5699 Checkpoint
5698 Most of the toolboxes are working again
5693 Initial commit; doesn't do much except run tests
Added:
>
>
Dependencies:
NameVersionDescription
HTML::Parser>=3.28Required. Available from CPAN.
HTML::Entities>=1.25Required. Available from CPAN.
Plugin Home: http://twiki.org/cgi-bin/view/Plugins/WysiwygPlugin
 
Feedback: TWiki:Plugins/WysiwygPluginDev
Added:
>
>
Appraisal: http://twiki.org/cgi-bin/view/Plugins/WysiwygPluginAppraisal
  Related Topics: TWikiPreferences, TWikiPlugins
Changed:
<
<
-- TWiki:Main/CrawfordCurrie - 02:16:12 25 October 2006
>
>
<-- Do not attempt to edit this topic; it is auto-generated. Please add comments/questions/remarks to the Dev topic instead. -->
 

Revision 424 Oct 2006 - Main.TWikiContributor

Line: 762 to 762
  Related Topics: TWikiPreferences, TWikiPlugins
Changed:
<
<
-- TWiki:Main/CrawfordCurrie - 02:19:17 26 June 2006
>
>
-- TWiki:Main/CrawfordCurrie - 02:16:12 25 October 2006
 

Revision 325 Jun 2006 - Main.TWikiContributor

Line: 642 to 642
 
Plugin Authors: TWiki:Main.CrawfordCurrie http://www.c-dot.co.uk (from original work by TWiki:Main.RomainRaugi, TWiki:Main.DamienMandrioli, TWiki:Main.FredericLuddeni, and TWiki:Main.ColasNahaboo)
Copyright © ILOG 2005 http://www.ilog.fr
Changed:
<
<
Plugin Version: 9566
Change History:  
>
>
Plugin Version: 10613
Change History:  
9671 Item2025 corrected handling of SPAN and FONT tags used for colour changes
9566 Item1890 doc update
 
9565 Item1890 Item1041 Item944 Much more aggressive cleanup of HTML pasted in from external sources. Excessively verbose HTML (e.g. from Outlook) was causing apparent infinite looing behaviour.
8867 Item1176 commented out Cairo version of header handler
8780 Item1625 disable expansion of twiki variables in urls where there are other twiki variables that can't be expanded
Line: 760 to 762
  Related Topics: TWikiPreferences, TWikiPlugins
Changed:
<
<
-- TWiki:Main/CrawfordCurrie - 21:45:16 31 March 2006
>
>
-- TWiki:Main/CrawfordCurrie - 02:19:17 26 June 2006
 

Revision 201 Apr 2006 - Main.TWikiContributor

Line: 548 to 548
 
pub/TWiki/WysiwygPlugin/_kupu/tests/test_kupuinit.js Kupu 1.3.2

  • Run WysiwygPlugin_installer to automatically check and install other modules that this module depends on. You can also do this step manually. Dependencies:
Changed:
<
<
NameVersionDescription
HTML::ParserRequired. Available from CPAN.
HTML::EntitiesRequired. Available from CPAN.
>
>
NameVersionDescription
HTML::Parser>=3.28Required. Available from CPAN.
HTML::Entities>=1.25Required. Available from CPAN.
 
  • (Dakar) Visit configure in your TWiki installation, and enable the plugin in the {Plugins} section.
  • To enable the editor in one of your skins, add the following link to the skin alongside or in place of the existing 'edit' link:
    <a href="%SCRIPTURLPATH%/edit%SCRIPTSUFFIX%/%WEB%/%TOPIC%?skin=kupu">Kupu</a>
    As you can see this is just a standard edit link with the 'kupu' skin in place of the usual edit skin. Here it is for this topic: Kupu. Try clicking on it, but do not save!
Deleted:
<
<
If you want to set up Kupu as your default editor, then you can set the EDIT_SKIN TWiki variable wherever you want.
  • Set EDIT_SKIN = kupu
Set it in a user topic to set it for one user. Set it in WebPreferences to set it for a single web. Or set it in your global TWiki preferences to set it for your whole site!
 

Plugin Configuration Settings

  • Set SHORTDESCRIPTION = Translator framework and WYSIWYG editor for TWiki topics
  • The name of the skin used to invoke a Wysiwyg editor.
Line: 646 to 642
 
Plugin Authors: TWiki:Main.CrawfordCurrie http://www.c-dot.co.uk (from original work by TWiki:Main.RomainRaugi, TWiki:Main.DamienMandrioli, TWiki:Main.FredericLuddeni, and TWiki:Main.ColasNahaboo)
Copyright © ILOG 2005 http://www.ilog.fr
Changed:
<
<
Plugin Version: 8670
Change History:
<-- Most recent first -->
Dependencies:
NameVersionDescription
HTML::ParserRequired. Available from CPAN.
HTML::EntitiesRequired. Available from CPAN.
Perl Version: 5.0
Plugin Home: TWiki:Plugins/WysiwygPlugin
>
>
Plugin Version: 9566
Change History:  
9565 Item1890 Item1041 Item944 Much more aggressive cleanup of HTML pasted in from external sources. Excessively verbose HTML (e.g. from Outlook) was causing apparent infinite looing behaviour.
8867 Item1176 commented out Cairo version of header handler
8780 Item1625 disable expansion of twiki variables in urls where there are other twiki variables that can't be expanded
8779 Item1530 support for templatetopic when editing new topics
8592 Item1532 WysiwygPlugin: Added two more do-not-edit-if-topic-contains parameters, pre+comments
8590 Item1532 WysiwygPlugin: Kenneths suggestion on proper handling of HTML comments (incl. change to kupu)
8572 Item1529 evil, evil. The XMLSerializer in IE isn't happy serializing the DOM. I have no idea why. Kupu manages to get away with this because it passes the DOM through the XML validator, which I had to disable because it strips comments. So, for now, the IE implementation will strip comments - but at least you can save again
8538 Item1501 table handling was a bit spazzy. Several problems fixed.
8535 Item1518 moved icon and string lists into topics, updated screenshot
8531 Item1392 reversed the sense of the navigate-away condition, again
8466 Item1486 added WYSIWYG_EXCLUDE to allow exclusion of 'uneditable' content
8463 Item1486 was stripping comments, wrongly. Had to disable the kupu filters completely, they just do too much damage.
8401 Item1457 corrected problem with bullet list at top of topic
8388 Item1445 fix for a javascript error, introduced by previous fix
8387 Item1445 small usability improvements
8334 Item663 TWiki.org doc merge: Fix incorrect link to kupu website
8327 Item1411 handle case of the result of a TWiki variable being nopped
8312 Item1317 wrong result returned from generation function when expanding HTML embedded in verbatim block
8301 Item1397 removed excess space after sqaub links
8300 Item1231 added %SPAN% to indicate a spanned-over cell in the editor. Improved handling of HTML in verbatim tags by inserting line breaks is the tag type calls for it, before removing the HTML.
8276 Item1215 added WYSIWYG_ICONS and WYSIWYG_TAGS to support user customisation of icon images and twiki variables that can be inserted
8274 Item1314 debugging in case the hang happens again; and made sure to default the editor just in case
8273 Item1315 short forms must be terminated by one of the same characters that terminate wikiwords
8272 Item1391 added special interpretation of IMG tags to expand selected TWiki variables within SRC attributes
8271 Item1340 refined handling of NOP to cover abbrevs
8270 Item1311 removed excess space inserted in headings
8269 Item1339 changed from using arbitrary attribute for notoc to a new CSS class. Arbitrary attributes are stripped by Kupu before save.
8268 Item1344 strip ^Ms inserted by Sarissa during serialisation on IE
8267 Item1394 still can't get text styles to work properly in IE; but I am now firmly of the opinion that the fault lies with the browser, and not with Kupu.
8232 Item1341 added appropriate CSS class
8152 Item1313 added caveat about editing complex HTML and mixed HTML-TML
8151 Item1334 headers not handled properly in Cairo version
8108 Item1318 corrected table/list parser for tables embedded in bulleted lists
8106 Item1310 support for <nop/>
8105 Item1317 support for limited case of nopped variable
8104 Item1320 corrected interpretation of relative URL path in [[]]
8091 Item1259 changed comment handling; rather than trying to create HTML, which gets munged, create an HTML comment. This will only be editable by switching to source view, but hey, it's supposed to be WYSIWYG. Note that this also means that comments in pasted HTML should be retained now
8063 Item1042 spec of SCRIPTURL changed
7904 Item1189 reverting accidental checkin of experimental code
7903 Item1189 filter whitelist is not good enough; need to generate B and I nodes. templates/ pub/TWiki/WysiwygPlugin
7902 Item1189 it took bloody ages to track down, but finally discovered that bold and italic were being filtered out of spans by Kupu 1.3.2.... too smart for it's own good. So added them to the filter whitelist, and it works again.
7873 Item1189 added pre save filter to try and find where the attributes are disappearing to in FF
7872 Item1187 for lack of an s on an RE, the nation was lost (well, the multi-line comment actually). Thanks Kenneth!
7871 Item859 solved issue with non-display of inserted images. Was due to the use of an onSubmit handler to close the dialog, rather than an onLoad handler triggered when the IFRAME that contains the result is loaded.
7869 Item1172 had to rewrite big chunk of the table popup to get it working with 1.3.2
7858 Item1151 rewrote link handlings stuff to leverage browser better
7854 Item1175 escape wikiwords within squabs
7815 Item1158 works for Cairo now as well
7814 Item1158 first implementation of AJAX interface to allow selectoin of topics from other webs
7812 Item1154 removed non-existent scull.gif
7811 Item1155 added extra recursion block, as Item1155 suggests it is needed
7801 Item1042 All sorts of clever tricks to handle expansion/compression of a subset of TWiki variables when they are used in URLs. Not a complete solution, but better than it was.
7799 Item1024 caught out by recursive call to beforeCommonTagsHandler in Cairo (nasty)
7798 Item1042 whoops, broke \t conversion in Cairo
7789 Item1140 testcase for 1140
7788 Item1140 fix rewriting of img src urls (and updated MANIFEST for Kupu1.3.2)
7786 Item1042 extensive improvements to variable and URL recognition and conversion
7766 Item856 added doc on EDIT_SKIN to the plugin
7712 Item1074 upgrade to Kupu 1.3.2 complete (at last)
7710 Item1074 Fixed source edit mode
7709 Item1074 tidied up broken toolbar. There are still known issues
7700 Item1074 first pass at moving to Kupu 1.3.2.
7673 Item1037 insert wikiword only if selection is zero length
7672 Item977 changed to remove dangerous Cairo-based assumption, and use context ids instead
7630 Item1025 added 'escape clause' for old handlers implemented to support old TWiki releases without warnings
7506 Item941 Eliminated the last of the dynamic globals to try and solve saving problem. Can;t test with mod_perl, but is fine with speedycgi AFAICT
7456 Item873 minor issue; replace br with \n in pre
7455 Item873 obvious problem parsing closing pre tag on same line as open tag
7453 Item710 Handling HTML comments
7452 Item876 Item945: Item876: spacing around table cells, correct handling of variables. Had to compromise on handling [[]] but I think it's for the best.
7430 Item871 made sure that brackets are generated for non-wikiwords
7425 Item928 removed special interpretation of mailto links
7424 Item866 extended URL parsing to handle MAINWEB and TWIKIWEB twiki variables, in the same hacky way as the core.
7416 Item870 a couple of corner-cases for correct handling of twiki variables
7401 Item899 changed list generation to use spaces instead of tabs
7265 Item180 removed pointless, outdated dependency check from DateFieldPlugin?
6935 Item622 reverted 3 specs to tabs in Set lines in plugins topics for kompatterbility with Kigh-roe
6905 Item622 tabs -> 3 spacesto avoid confusing the users
6850 Item638 added instruction to run configure to all install docs (I hope)
6827 Item569 added default RELEASE to everything that had a version, and removed a load of dead code that was getting in the way
6758 Item569 computed version numbers for plugins from the repository rev they were built from.
6504 Item436 incremented vernos of all changed plugins
6485 Item429 trying to make access controls clearer
6401 Item340 re-initialisation bug found by ColasNahaboo? when using mod_perl; fixed by correctly re-initialising the parse stack for each run of the convertor
6284 Item340 Release 0.16 of WysiwygPlugin
6279 Item340 bugfixes for release 0.16 of WysiwygPlugin
6261 Item335 Switched PNGs to indexed mode, as transparency doesn't work on IE for RGB images
6238 Item332 Added context identifier to WysiwygPlugin, and a button to the pattern view template. If WysiwygPlugin is enabled, then the button will appear. Neat, huh?
6195 Item196 getting plugin test suites to pass. Doesn't mean the plugins actually work, just that the test suites run (which is a good indicator)
6174 Item168 checkpoint checking for 0.16
6151 Item186 more minor updates
6150 Item168 new icons, and a couple of bugfixes, to WysiwygPlugin
6092 Item196 more plugin and contrib fixes for develop; mainly just moving tests around and making sure they all pass.
6067 Item138 had to change to using beforeCommonTagsHandler and also escape % signs to prevent TWiki from rendering internal tags (as reported by Colas)
5979 Item168 corrected stupid error on IE; added screenshot
5977 Item168 release 0.13
5948 Item168 nearly ready for 0.13
5937 Item168 corrected images, twikified all images
5936 Item168 the import from cvs has screwed images
5934 Item168 twikified icon images, and renamed some images to be more intention-revealing
5739 0.12 beta release
5730 V0.11
5714 Tidied up installer, documentation. Release 0.10
5712 pre-release 0.06
5706 Version 0.05
5705 Checkpoint checking - version 0.03
5702 cvsrmtee old files
5701 Check in for prototype release
5700 Check in for prototype release
5699 Checkpoint
5698 Most of the toolboxes are working again
5693 Initial commit; doesn't do much except run tests
 
Feedback: TWiki:Plugins/WysiwygPluginDev

Related Topics: TWikiPreferences, TWikiPlugins

Changed:
<
<
-- TWiki:Main/CrawfordCurrie - 23:00:26 01 February 2006
>
>
-- TWiki:Main/CrawfordCurrie - 21:45:16 31 March 2006

Revision 101 Feb 2006 - Main.TWikiContributor

Line: 1 to 1
Added:
>
>

Wysiwyg Plugin

Support for the integration of WYSIWYG (What-You-See-Is-What-You-Get) editors. Comes bundled with a complete integration of the feature-rich Kupu editor.

Screenshot

The plugin is a generic framework that supports editing of TWiki topics using any browser-based HTML editor. It works by transforming TML (TWiki Meta Language) into HTML for the editor and then transforming HTML back into TML on save. These steps can be separated to support the import of HTML from external sources such as existing web pages.

The plugin should operate with TWiki20040904 as well as TWiki-4.0.0 and later.

Caveat: WysiwygPlugin is designed for editing TWiki topics, not as a general purpose HTML editor. It will work fine on topics that contain text, TML formatting, and most HTML. However, because of the complexity of transforming TML into HTML and back, complex TML, and mixing HTML and TML may not give the results you expect. You are recommended to use the standard browser textarea editor for editing existing topics that contain mixed HTML and TML, or complex %TML%-type variables.

Features

  • Supports the input of malformed HTML
  • Full round-trip (TML -> XHTML -> TWiki syntax)
  • Framework is editor agnostic
  • Customised Kupu editor included

Details

What's in the package

The package includes the following pieces:
  • TML (TWiki syntax) to HTML translator
  • HTML to TML translator (with stand-alone script)
  • Generic TWiki plugin for automating the translation during editing
  • Kupu editor integration, implemented as a TWiki skin

How to use the editor

Basic help for most of the functions in the toolbar is available by "hovering" the mouse over the button. Some functions require a bit more explanation:
  • "Insert No-Op" inserts a <nop> region. Any TWiki syntax such as wikiwords or variables inside the region will be disabled in the rgeion. $lt;nop> regions may not extend over line breaks.
  • The rightmost drop-down will give you a menu of TWiki variables that can be inserted. Any of these variables can be edited after they have been placed in the text, for example to add parameters.
  • "Insert a WikiWord" will give you a menu of topics in the current web that can be inserted. Topics are inserted as links, though typing wikiwords in plain text will work just as well.
  • Watch out for the <> button on the right of the toolbar. It lets you switch into an HTML view, which can be very useful when you can't get your formatting right.
  • In TWiki, a totally empty table cell causes the cell to be merged with the cell immediately to the left. To make this effect more transparent in the editor, these empty cells are shown with the text "%SPAN%" in them. In Kupu, if you add %SPAN% to a table cell, then all the rest of the content will be thrown away and the cell will be converted to an empty table cell. Note that this only applies to tables that are converted to TWiki syntax.

Kupu Notes

The version of Kupu shipped with this plugin is an uncustomised basic Kupu release. All the TWiki customisation is done as plugins and extensions to Kupu - the basic kupu code is shipped completely intact.

How it works

The plugin works by translating the topic text into HTML, which is then fed to the editor. The edited HTML is then run through the reverse translation before saving to the topic. TWiki syntax is used in preference to HTML in the stored topic wherever possible, though HTML may be used if the translator can't find a suitable TML equivalent..

The default rendering that TWiki uses to generate HTML for browsers is 'lossy' - information in the TWiki syntax is lost in the HTML output, and a round-trip (recovering the original TWiki syntax from the HTML) is impossible. To solve this problem the plugin instead uses its own translation of TWiki syntax to pure XHTML. The generated XHTML is annotated with CSS classes that support the accurate recovery of the original TWiki syntax.

(before you ask the obvious question, yes, the translator could be used to replace the TWiki rendering pipeline for generating HTML pages. In fact, the translator is taken almost directly from the implementation of the rendering pipeline for the TWiki 'Dakar' release)

Translation of the HTML back to TWiki syntax uses the CPAN:HTML::Parser. This parser is used in preference to a more modern XML parser, because the HTML may not generate fully compliant XHTML. A strict parser would risk losing content. CPAN:HTML::Parser is better at handling malformed syntax.

There is also the advantage that the translator can be used to import HTML from other sources - for example, existing web pages. Due to the simple nature of TWiki syntax and the complexity of HTML, this translation is lossy - i.e there will be HTML features that can be entered by editors that will be lost in this translation step. This is especially noticeable with HTML tables.

Using the translators from Perl scripts

Both translators can be used directly from Perl scripts, for example to build your own stand-alone translators.

An example stand-alone convertor script for HTML to TWiki is included in the installation. It can be found in the top-level tools directory and is called html2tml.pl.

Plugin Installation Instructions

  • Download the ZIP file from the Plugin web (see below)
  • Unzip WysiwygPlugin.zip in your twiki installation directory. Content:
    File: Description:
    lib/TWiki/Plugins/WysiwygPlugin/HTML2TML/WC.pm Perl module
    lib/TWiki/Plugins/WysiwygPlugin/HTML2TML/Leaf.pm Perl module
    lib/TWiki/Plugins/WysiwygPlugin/HTML2TML/Node.pm Perl module
    lib/TWiki/Plugins/WysiwygPlugin/HTML2TML.pm Perl module
    lib/TWiki/Plugins/WysiwygPlugin.pm Perl module
    lib/TWiki/Plugins/WysiwygPlugin/TML2HTML.pm Perl module
    data/TWiki/WysiwygPlugin.txt Documentation and settings
    data/TWiki/WysiwygPluginTopicLister.txt Special AJAX topic
    pub/TWiki/WysiwygPlugin/kuputwiki.css Kupu customisation
    pub/TWiki/WysiwygPlugin/twikitools.js Kupu customisation
    pub/TWiki/WysiwygPlugin/kupuinit.js Kupu customisation
    pub/TWiki/WysiwygPlugin/kupustart.js Kupu customisation
    pub/TWiki/WysiwygPlugin/bold.png Button image
    pub/TWiki/WysiwygPlugin/cancel.png Button image
    pub/TWiki/WysiwygPlugin/code.png Button image
    pub/TWiki/WysiwygPlugin/definition-list.png Button image
    pub/TWiki/WysiwygPlugin/exthyperlink.png Button image
    pub/TWiki/WysiwygPlugin/help.png Button image
    pub/TWiki/WysiwygPlugin/indent.png Button image
    pub/TWiki/WysiwygPlugin/inthyperlink.png Button image
    pub/TWiki/WysiwygPlugin/italic.png Button image
    pub/TWiki/WysiwygPlugin/new-attachment.png Button image
    pub/TWiki/WysiwygPlugin/new-image.png Button image
    pub/TWiki/WysiwygPlugin/nop.png Button image
    pub/TWiki/WysiwygPlugin/ordered-list.png Button image
    pub/TWiki/WysiwygPlugin/outdent.png Button image
    pub/TWiki/WysiwygPlugin/redo.png Button image
    pub/TWiki/WysiwygPlugin/remove.png Button image
    pub/TWiki/WysiwygPlugin/save.png Button image
    pub/TWiki/WysiwygPlugin/separator.png Button image
    pub/TWiki/WysiwygPlugin/smiley.png Button image
    pub/TWiki/WysiwygPlugin/strings.png Button image
    pub/TWiki/WysiwygPlugin/table.png Button image
    pub/TWiki/WysiwygPlugin/text-color.png Button image
    pub/TWiki/WysiwygPlugin/undo.png Button image
    pub/TWiki/WysiwygPlugin/unordered-list.png Button image
    pub/TWiki/WysiwygPlugin/vars.png Button image
    pub/TWiki/WysiwygPlugin/verbatim.png Button image
    pub/TWiki/WysiwygPlugin/verbatim-watermark.png Watermark
    pub/TWiki/WysiwygPlugin/screenshot.jpg Screen shot
    pub/TWiki/WysiwygPlugin/view-source.png Button image
    templates/edit.kupu.tmpl Template for an edit using kupu
    templates/view.kupuxml.tmpl Template for AJAX data
    templates/attachtables.kupu.tmpl Attachment table rendering for editor
    templates/view.kupu.tmpl Template for a kupu skin view, used by the editor
    tools/html2tml.pl Stand-alone convertor script
    pub/TWiki/WysiwygPlugin/_kupu/Extensions/Install.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/Makefile Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/__init__.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/README.txt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/kupu/body.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/kupu/exit.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/kupu/include.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/kupu/kupudrawerstyles.css Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/kupu/kupumacros.html Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/kupu/kupustyles.css Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/kupu/lenya.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/kupu/lenya.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/kupu/toolbar.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/kupu/toolboxes.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/kupu/wire.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/kupu/xmlconfig.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/lenya/content2edit.xsl Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/lenya/drawers/imagedrawer.xsl Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/lenya/drawers/imagelibraries.xml.jx Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/lenya/drawers/kupudrawerstyles.css Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/lenya/drawers/libraries.xml.jx Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/lenya/drawers/linkdrawer.xsl Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/lenya/drawers/linklibraries.xml.jx Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/lenya/drawers/publication_image_library.xml.jx Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/lenya/drawers/sitetree_link_library.xml.jx Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/lenya/i18n.xsl Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/lenya/images/emblem-generic.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/lenya/images/exit.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/lenya/images/page-image.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/lenya/images/pub-image.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/lenya/images/right_arrow.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/lenya/images/sitetree-link.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/lenya/kupumacros.xsl Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/lenya/kupusave.xsl Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/lenya/page2kupu.xsl Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/lenya/pageassets2kupulibrary.xsl Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/apache-lenya/lenya/sitetree2kupulibrary.xsl Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/cnf/head.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/cnf/include.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/cnf/toolboxes.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/cnf/wire.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/cnf/xmlconfig.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/fulldoc.html Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupu-pox.cgi Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupu.cgi Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupu.html Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupu.pox Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupu.pox.jspx Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupubasetools.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupubeforeunload.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupublank.html Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupucleanupexpressions.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupucnf.html Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupucnftable.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupucontentfilters.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupucontentstyles.css Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupucontextmenu.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/allimages.xml Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/drawer.xsl Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/drawer.xsl.metadata Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/imagelibrary.xml Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/kupubuttons.xml Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/linklibrary.xml Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos.xml Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/bitflux_logo.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/bitflux_logo_preview.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/bubnbros.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/bubnbros_preview.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/codespeak_logo.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/codespeak_logo_preview.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/diver_logo.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/diver_logo_preview.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/eth_logo.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/eth_logo_preview.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/infrae_logo.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/infrae_logo_preview.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/kupu_logo.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/kupu_logo_preview.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/lenya_logo.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/lenya_logo_preview.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/opensource.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/opensource_preview.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/oscom4_banner.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/oscom4_banner_preview.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/oscom_logo.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/oscom_logo_preview.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/plone_logo.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/plone_logo_preview.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/pypy_logo.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/pypy_logo_preview.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/silva_logo.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/silva_logo_preview.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/twiki_logo.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/twiki_logo.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/zea_logo.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/zea_logo_preview.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/zope_logo.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawers/logos/zope_logo_preview.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupudrawerstyles.css Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupueditor.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuform.html Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuhelpers.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/background-color.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/bold.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/bold.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/buttons.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/caret.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/closed.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/copy.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/create-new.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/cut.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/definitionlist.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/document.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/exit.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/exthyperlink.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/folder.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/fonts.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/format.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/hr.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/image.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/indent.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/indent.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/inthyperlink.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/italic.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/italic.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/justify-center.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/justify-full.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/justify-left.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/justify-right.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/kupu_icon.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/kupulibrary.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/kupusearch_icon.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/larger-text.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/link.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/opened.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/ordered-list.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/outdent.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/paste.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/redo-disabled.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/redo.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/remove.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/save.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/size.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/smaller-text.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/space.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/strikethrough.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/subscript.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/superscript.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/table.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/text-check.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/text-color.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/toolbarbg_blue.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/toolbarbg_green.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/toolbarbg_purple.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/toolbarbg_wood.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/underline.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/underline.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/undo-disabled.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/undo.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/unlink.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/unordered-list.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/view-source.png Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/zoom-in.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuimages/zoom-out.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuinit.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuinit_experimental.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuinit_form.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuinit_genericelements.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuinit_multi.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuinspector.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuloggers.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupumacros.html Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupumulti.html Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupumultieditor.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupunoi18n.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupupopups/image.html Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupupopups/link.html Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupusaveonpart.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupusourceedit.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupuspellchecker.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupustart.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupustart_form.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupustart_multi.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kupustyles.css Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/kuputoolcollapser.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/sarissa.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/sarissa_ieemu_xpath.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/common/spellcheck.cgi Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/config.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/configure.zcml Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/default/body.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/default/colorchooser.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/default/contextmenu.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/default/drawers.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/default/form.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/default/head.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/default/html.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/default/include.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/default/save.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/default/saveonpart.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/default/sourceedit.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/default/spellchecker.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/default/toolbar.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/default/toolboxes.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/default/wire.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/default/xmlconfig.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/dist-apache-lenya.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/dist-cnf.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/dist-form.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/dist-multi.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/dist-plone.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/dist-silva.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/dist-zope2.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/dist.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/doc/BEFOREUNLOAD.txt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/doc/CHANGES.txt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/doc/CONTRIBUTING.txt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/doc/CREDITS.txt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/doc/CUSTOMIZING.txt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/doc/EXTENDING.txt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/doc/FAQ.txt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/doc/IMAGEUPLOADER.txt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/doc/INSTALL.txt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/doc/JSAPI.txt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/doc/LIBRARIES.txt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/doc/LICENSE.txt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/doc/OLDBROWSERS.txt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/doc/PLONE2.txt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/doc/README.txt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/doc/STYLEGUIDE.txt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/doc/TEMPLATE-SYSTEM.txt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/doc/TODO.txt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/doc/ZOPE2.txt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/doc/default.css Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/doc/docutils.conf Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/doc/file-template Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/form/body.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/form/head.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/form/include.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/form/save.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/i18n/kupu-cs.po Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/i18n/kupu-da.po Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/i18n/kupu-de.po Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/i18n/kupu-el.po Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/i18n/kupu-eo.po Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/i18n/kupu-fi.po Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/i18n/kupu-fr.po Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/i18n/kupu-he.po Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/i18n/kupu-ja.po Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/i18n/kupu-nl.po Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/i18n/kupu-pt-br.po Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/i18n/kupu-pt.po Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/i18n/kupu-sr-Latn.po Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/i18n/kupu-sr.po Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/i18n/kupu-zh-cn.po Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/i18n/kupu-zh.po Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/i18n/kupu.pot Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/i18n/kupuconfig-da.po Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/i18n/kupuconfig-fr.po Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/i18n/kupuconfig-ja.po Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/i18n/kupuconfig.pot Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/include.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/kupu-i18nextract-sa-diff.patch Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/kupu_icon.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/make-jspx.xsl Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/make.bat Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/make.xsl Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/multi/body.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/multi/head.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/multi/include.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/multi/save.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/multi/toolboxes.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/ReftextField.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/TODO.txt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/__init__.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/beforeunload.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/body.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/drawers.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/head.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/html2captioned.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/include.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/interfaces.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu2html.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_config.pt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/contentUsesKupu.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/convertContentForKupu.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/emptypage.pt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/kupuGetResourceTypes.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/kupuInfoForBrains.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/kupuMyItems.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/kupuRecentItems.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/kupuSearch.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/kupuUploadImage.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/kupuUploadImage.py.metadata Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/kupu_wysiwyg_support.html Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/kupublank.html.html Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/kupucollection.xml.pt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/kupucollection.xml.pt.metadata Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/kupulibraries.xml.pt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/kupumyitems.xml.pt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/kupuplone.css.dtml Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/kupuploneeditor.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/kupuploneinit.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/kupuploneui.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/kupurecentitems.xml.pt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/kupusaveonpart.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/kupusearch.xml.pt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/anchor.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/bgcolor.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/bold.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/center.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/definitionlist.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/delete_icon.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/hr.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/hyperlink.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/indent.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/italic.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/left_just.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/list.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/numbered_list.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/outdent.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/redo.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/right_just.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/space.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/strikethrough.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/subscript.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/superscript.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/table.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/textcolor.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/tools.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/underline.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/undo.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/unformat.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/plonekupuimages/view-source.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/resolveuid.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/sample-kupu-customisation-policy.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/kupu_plone_layer/wysiwyg_support.pt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/libraries.pt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/librarytool.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/permissions.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/plonelibrarytool.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/resource_types.pt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/scanner.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/sourceedit.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/tests/__init__.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/tests/framework.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/tests/input/baduid.in Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/tests/input/linked.in Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/tests/input/minimal.in Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/tests/input/notcaptioned.in Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/tests/input/notquoted.in Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/tests/input/simple.in Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/tests/output/baduid.out Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/tests/output/linked.out Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/tests/output/minimal.out Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/tests/output/notcaptioned.out Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/tests/output/notquoted.out Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/tests/output/simple.out Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/tests/runalltests.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/tests/runme.cmd Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/tests/test_browserSupportsKupu.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/tests/test_html2captioned.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/tests/test_librarymanager.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/tests/test_resourcetypemapper.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/toolbar.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/wire.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/wysiwyg_support.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/xmlconfig.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/plone/zmi_docs.pt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/python/__init__.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/python/nationalizer.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/python/spellcheck.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/refresh.txt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/roundup/kupuinit.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/roundup/kupustyles.css Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/silva/body.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/silva/closed_arrow.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/silva/contextmenu.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/silva/drawers.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/silva/head.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/silva/imagedrawer.xsl.pt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/silva/include.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/silva/kupudrawerstyles.css Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/silva/kupumacros.html Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/silva/kupusilvainit.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/silva/kupusilvatools.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/silva/librarydrawer.xsl Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/silva/opened_arrow.gif Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/silva/saveonpart.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/silva/toolbar.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/silva/toolboxes.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/silva/wire.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/silva/xmlconfig.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/tests/run_tests.html Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/tests/test_beforeunload.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/tests/test_kupubasetools.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/tests/test_kupueditor.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/tests/test_kupuhelpers.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/tests/test_kupuinit.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/tests/test_plone.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/tests/test_xhtml.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/tools/compress.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/tools/convert_to_utf-8.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/tools/makepox.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/version.txt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/widgeteer/Makefile Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/widgeteer/body.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/widgeteer/browser.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/widgeteer/dist.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/widgeteer/empty.html Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/widgeteer/head.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/widgeteer/include.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/widgeteer/kupuinit.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/widgeteer/kupustart.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/widgeteer/kupustyles.css Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/widgeteer/make.bat Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/widgeteer/wire.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/widgeteer/xmlconfig.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/zope2/__init__.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/zope2/addKupuEditor.pt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/zope2/body.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/zope2/contextmenu.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/zope2/drawers.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/zope2/example.pt Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/zope2/head.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/zope2/html.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/zope2/include.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/zope2/saveonpart.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/zope2/sourceedit.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/zope2/wire.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/zope2/xmlconfig.kupu Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/zope3/__init__.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/zope3/browser/__init__.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/zope3/browser/configure.zcml Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/zope3/configure.zcml Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/zope3/field.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/zope3/interfaces.py Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/tests/test_kupubasetools.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/tests/test_kupueditor.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/tests/test_kupuhelpers.js Kupu 1.3.2
    pub/TWiki/WysiwygPlugin/_kupu/tests/test_kupuinit.js Kupu 1.3.2

  • Run WysiwygPlugin_installer to automatically check and install other modules that this module depends on. You can also do this step manually. Dependencies:
    NameVersionDescription
    HTML::ParserRequired. Available from CPAN.
    HTML::EntitiesRequired. Available from CPAN.
  • (Dakar) Visit configure in your TWiki installation, and enable the plugin in the {Plugins} section.
  • To enable the editor in one of your skins, add the following link to the skin alongside or in place of the existing 'edit' link:
    <a href="%SCRIPTURLPATH%/edit%SCRIPTSUFFIX%/%WEB%/%TOPIC%?skin=kupu">Kupu</a>
    As you can see this is just a standard edit link with the 'kupu' skin in place of the usual edit skin. Here it is for this topic: Kupu. Try clicking on it, but do not save!

If you want to set up Kupu as your default editor, then you can set the EDIT_SKIN TWiki variable wherever you want.

  • Set EDIT_SKIN = kupu
Set it in a user topic to set it for one user. Set it in WebPreferences to set it for a single web. Or set it in your global TWiki preferences to set it for your whole site!

Plugin Configuration Settings

  • Set SHORTDESCRIPTION = Translator framework and WYSIWYG editor for TWiki topics
  • The name of the skin used to invoke a Wysiwyg editor.
    • Set WYSIWYGSKIN = kupu
  • Web/Topic name of a help page. Change this to point to your local version of the help page, which is brought up when the .
    • Set HELPPAGE = TWiki/WysiwygPlugin

Other Settings

The editor template includes a number of files that can be used for other settings. These files are not defined in the distribution, so that you can create your own local content.

TWiki.WysiwygPluginIcons

You can define a list of icons that will be available in the Kupu editor when the smiley.png toolbar button is pressed. This topic has to contain a list of <IMG> tags. If present, the 'alt' text will be used in place of the <IMG> tag when translating from HTML to TML. Example:
   <img src="%PUBURL%/TWiki/TWikiDocGraphics/tip.gif" />
   <img src="%PUBURL%/TWiki/TWikiDocGraphics/warning.gif" />
   <img src="%PUBURL%/TWiki/TWikiDocGraphics/pencil.gif" />
   <img src="%PUBURL%/TWiki/TWikiDocGraphics/choice-yes.gif" />
   <img src="%PUBURL%/TWiki/TWikiDocGraphics/updated.gif" />
   <img src="%PUBURL%/TWiki/TWikiDocGraphics/help.gif" />
   <img src="%PUBURL%/TWiki/TWikiDocGraphics/new.gif" />
   <img src="%PUBURL%/TWiki/TWikiDocGraphics/starred.gif" />
   <img src="%PUBURL%/TWiki/TWikiDocGraphics/arrowright.gif" />

TWiki.WysiwygPluginStrings

You can also define a list of strings that will be available for insertion in topics using the strings.png toolbar button. This topic has to contain a list of HTML 'option' tags. Example:
   <option value='-- <nop>%WIKIUSERNAME% - %DATE%'>Signature</option>
   <option value="%<nop>WIKINAME%">Wiki name (variable)</option>
   <option value='%<nop>SEARCH{"search for"}%'>Inline search (variable)</option>
   <option value='%<nop>INCLUDE{"topic or url"}%'>Include (variable)</option>
   <option value="%<nop>TOC%"> Table of Contents (variable)</option>
   <option value="%<nop>TOPIC%">Topic (variable)</option>
   <option value="%<nop>WEB%">Web (variable)</option>
   <option value="%<nop>DATE%"> Date (variable)</option>
The bit between the > < value defines text in the drop-down box in the editor, and the value defines the actual string inserted in the topic.

TWiki.WysiwygPluginLocalHelp

If it exists, the contents of this topic will be included and shown on the edit screen below the status bar. It is intended to be used for site-specific quick help information.

Editor control

The global TWiki Variable WYSIWYG_EXCLUDE can be set to make the plugin sensitive to what is in a topic before allowing it to be edited. You can set it up to refuse to edit if

  • some or all of HTML tags (e.g. <br /> or <div>), or
  • simple variables (e.g. %VAR%) or
  • calls (e.g. %VARIABLE{...}%)
  • PRE blocks (<pre>)
  • HTML comments (<!-- ... -->)

are used in the topic. If the plugin detects an excluded construct in the topic, it will redirect to the default editor. Comma-separated list of one or more of html, variables, calls, pre or comments e.g.

  • Set WYSIWYG_EXCLUDE = variables,calls (inactive; you need to remove monospacing from this setting to enable it)

If you are using this plugin with TWiki-4.0.0 or later with pattern skin, the %COMPOSER% global TWiki variable is used to control the skin used for the WYSIWYG editor link. You can define this variable to the empty string to disable WYSIWYG editing on a site, per-web, per-user or per-topic basis.

Known Issues

Most of the known problems with the plugin are actually problems with the Kupu editor or the browser rather than the plugin.

Incompatible with "non-standard" syntax

WysiwygPlugin is Incompatible with plugins that expand non-standard syntax e.g. TWiki:Plugins.MathModePlugin (WysiwygPlugin)

Plugins that extend the syntax using TWiki variables, such as %MYVARIABLE%, should work fine.

Can't undo all functions (Kupu + browser)

Due to limitations in the browser support for editing, not all functions can be undone. Also, the undo buffer can be cleared unexpectedly during editing, especially when using Internet Explorer.

Overlapping styles (WysiwygPlugin)

Because TWiki uses a "best guess" approach to some formatting, it allows overlapping of tags in a way forbidden by HTML, it is impossible to guarantee 100% that formating in the original TWiki document will still be there when the same document is loaded and then saved through the WysiwygPlugin. The most obvious case of this is to do with styles. For example, the sentence
*bold _bold-italic* italic_
is legal in TML, but in HTML is represented by
<strong>bold <em>bold-italic</em></strong> <em>italic</em>
which gets translated back to TML as
*bold _bold-italic_* _italic_
which is correct by construction, but does not render correctly in TWiki. This problem is unfortunately unavoidable due to the way TWiki syntax works.

Support for PRE

Because of limitations in the browsers, the editor does not support PRE blocks. All PRE blocks will be converted to TWiki verbatim blocks on save. This can cause some confusion, especially when editor formatting controls (such as "bold") have been used to format text in a PRE block. Users are advised to use only plain text in PRE (verbatim) blocks.

Plugin Info

This plugin is heavily based on the TWiki::Plugins.KupuEditorAddOn, and the authors of that add-on are therefore also credited as authors of this plugin.

Plugin Authors: TWiki:Main.CrawfordCurrie http://www.c-dot.co.uk (from original work by TWiki:Main.RomainRaugi, TWiki:Main.DamienMandrioli, TWiki:Main.FredericLuddeni, and TWiki:Main.ColasNahaboo)
Copyright © ILOG 2005 http://www.ilog.fr
Plugin Version: 8670
Change History:
<-- Most recent first -->
Dependencies:
NameVersionDescription
HTML::ParserRequired. Available from CPAN.
HTML::EntitiesRequired. Available from CPAN.
Perl Version: 5.0
Plugin Home: TWiki:Plugins/WysiwygPlugin
Feedback: TWiki:Plugins/WysiwygPluginDev

Related Topics: TWikiPreferences, TWikiPlugins

-- TWiki:Main/CrawfordCurrie - 23:00:26 01 February 2006

 
This site is powered by the TWiki collaboration platformCopyright � by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.WysiwygPlugin