wiki:TinyMceWikiPlugin

TinyMCE Wiki Plugin

Description

This plugin allows users to edit the Trac wiki with the TinyMCE. TinyMCE is a platform independent web based Javascript HTML WYSIWYG editor control released as Open Source under the LGPL-license by Moxiecode Systems AB.

Also, within WYSIWYG text, you still have the important Trac WikiFormatting NOT provided by HTML: you can still do TracLinks, WikiMacros, the Links (? TracLinks?), and WikiProcessors.

Caution: The data which it retains is not wiki grammar, but is the individual type which includes the Traclink and the Macro etcetera to the HTML. Over time it may become considerably more difficult to edit the data which it retains with the default wiki editor.

  • The [[PageOutline]] macro will cease to function if you edit an existing page.

Updates

This plugin is patched to work with Trac 0.10, see: #744

Patch is available at attachment:ticket:744:tinymcewikiplugin-0.10.patch

Bugs/Feature Requests

Existing bugs and feature requests for TinyMceWikiPlugin are here.

If you have any issues, create a new ticket.

defect

2 / 4

enhancement

0 / 1

task

0 / 1

Download

Download the zipped source from here.

Source

You can check out TinyMceWikiPlugin from here using Subversion, or browse the source with Trac.

Installation

  1. Download the TinyMCE from http://tinymce.moxiecode.com/, and put tinymce directory (not tiny_mce) into share/trac/htdocs.
  2. Copy tinymce_trac.css contained within this plugin's files to the tinymce folder.
  3. Add the following options to your trac.ini file:
    [components]
    trac.wiki.web_ui.WikiModule= disabled
    
  4. (Optional) If you have not modified default_handler, add the following options too:
    [trac]
    default_handler = TinyMceWikiPlugin
    
  5. Follow the normal install instructions.
  6. Restart web server tracd / httpd.

Configuration

To customize the TinyMCE

The TinyMCE-Plugin reads the tinymceconf.cs template file, which is placed in the templates folder of the TracEnv. Reading the document of the TinyMCE, please rewrite this file.

To rewrite to the language of your country

The TinyMCE-Plugin reads the tinymcewiki.cs template file, which is placed in the templates folder of the TracEnv. Please rewrite this file.

Example

Click the 'Edit/Create this page with WYSIWYG' button on the Trac wiki page.

Recent Changes

446 by hirobe on 2006-02-26 06:05:22
TinyMceWikiPlugin:

Check in version 0.1 of the TinyMceWikiPlugin

445 by hirobe on 2006-02-26 05:53:00
New hack TinyMceWikiPlugin, created by hirobe
(more)

Author/Contributors

Author: hirobe
Maintainer: hirobe
Contributors: JamesMills, MBParker

Last modified 7 months ago Last modified on Feb 3, 2016, 6:40:00 PM