Integrate TinyMCE editor into Trac


TinyMCE logo

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

Click the 'Edit/Create this page with WYSIWYG' button on the Trac wiki page to start using the WYSIWYG features.

Also, within WYSIWYG text, you still have the important Trac WikiFormatting NOT provided by HTML: you still have the ability to enter TracLinks, WikiMacros 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.

Bugs/Feature Requests

Existing bugs and feature requests for TinyMceWikiPlugin are here.

If you have any issues, create a new ticket.


2 / 4


0 / 1


1 / 1


Download the zipped source from here.


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


  1. Download the TinyMCE from, 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] disabled
  4. (Optional) If you have not modified default_handler, add the following options too:
    default_handler = TinyMceWikiPlugin
  5. Follow the normal install instructions.
  6. Restart web server tracd / httpd.


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.

Recent Changes

16397 by rjollos on 2017-03-25 09:37:00
Remove obsolete "0.9" code
16393 by rjollos on 2017-03-25 09:19:41
Remove eggs
15878 by rjollos on 2016-09-10 09:15:12
0.2: Apply patch for Trac 0.10 support

Patch by JamesMills.

Fixes #744.



Author: hirobe
Maintainer: hirobe
Contributors: JamesMills, MBParker

Last modified 4 years ago Last modified on Mar 25, 2017, 1:44:40 PM

Attachments (1)

Download all attachments as: .zip