wiki:WikiWygPlugin

Version 11 (modified by rjollos, 2 years ago) (diff)

Page cleanup.

Wysiwyg embedded editor

Note: superceded by TracWysiwygPlugin.

Description

Wysiwyg editor embedded into trac that emits wiki syntax. see also t:#1682.

Demonstration Version, things missing

The following is missing in this demonstration version:

  • "save", problem is the form_token from the original edit
    <form id="edit" action="/wikiwyg/wiki/WikiStart" method="post"><div><input type="hidden" name="__FORM_TOKEN" value="1d57afadf8b49edc865c4ea8" />
    
  • "wikiwyg.css" does not get loaded. somehow we did not understand 0.11 :)
  • "Trac.js" has a method for converting HTML to trac wiki text: does not get applied, but the standard wikiwyg transformation happens.

Bugs/Feature Requests

Existing bugs and feature requests for WikiWygPlugin are here.

If you have any issues, create a new ticket.

Download, Install, Configure

Install with

easy_install http://trac-hacks.org/svn/wikiwygplugin/0.11

Enable it in "Admin", or in trac.ini with:

[components]
wikiwyg.wikiwyg.tracwikiwygmodule = enabled

Source

Download the zipped source from here, or check out WikiWygPlugin from here using Subversion, or browse the source with Trac.

Recent Changes

[2059] by ErikRose on 2007-02-28 06:03:22

WikiWygPlugin:

  • We now wikiwyg-ify wiki pages on page load. To edit, don't click Edit this page; double-click a wiki page's body text. Saving etc. aren't implemented yet.
  • Trac.js is a template now, as it needs the base URL of the environment subbed into it.
  • Implemented IRequestHandler to serve the new Trac.js template.
  • Included Util.js on every page. addEvent() is in there, and we need it for registering the onload handler.
[2053] by ErikRose on 2007-02-27 23:01:28
WikiWygPlugin:

Fixed a bug where none of our static resources could be got.

[2052] by ErikRose on 2007-02-27 22:24:47

WikiWygPlugin:

setup.py and deletes:

  • Deleted dead and useless templates. Their functionality is covered, between Trac.js and our IRequestFilter.

wikiwyg.py:

  • Removed superfluous parentheses.
  • Gave the wikiwyg library includer the potential to only include them where necessary.

Author/Contributors

Original code: ThurnerRupert
Author: fwierzbicki and ErikRose
Contributors: