wiki:TinyMceWikiPlugin

Version 19 (modified by figaro, 5 years ago) (diff)

Cosmetic changes

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

1 / 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

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.

(more)

Author/Contributors

Author: hirobe
Maintainer: hirobe
Contributors: JamesMills, MBParker

Attachments (1)

Download all attachments as: .zip