wiki:TinyMceWikiPlugin

Version 4 (modified by athomas, 9 years ago) (diff)

Escaped TinyMce

TinyMce Wiki Plugin

Description

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

Also, within WYSIWYG text, you still have (it seems) the important Trac WikiFormatting NOT provided by HTML: you still can still do TracLinks, WikiMacros, the Links (? TracLinks?), and WikiProcessors. (MBParker notes: from the screenshot, these are highlighed by red box outline; I would imagine that they don't actually operate until the code is previewed or displayed.)

A screenshot --from the author's (now outdated) original page on the plugin, auto-translated here into English.

Caution

The data which it retains is not wiki grammar, is the individual type which includes the Traclink and the Macro et cetera to the HTML. Considerably it becomes difficult to edit the data which it retains with the wiki editor of default.

Installation

  1. Download and put TinyMCE You must download the TinyMCE from http://tinymce.moxiecode.com/ . And you must put 'tinymce' directory (not 'tiny_mce') into share/trac/htdocs.
  1. put 'tinymce_trac.css' copy 'tinymce_trac.css' in this plugin to tinymce folder.
  1. Disable Wiki Module This plugin replaces the default wiki module. You must adding the following options to trac.ini:
    [components]
    trac.wiki.web_ui.WikiModule= disabled
    
    If you have not modified default_handler, You must adding the following options too.
    [trac]
    default_handler = TinyMceWikiPlugin
    
  1. Put this plug-in Put tinymcewiki-0.1-py2.3.egg to Your TracEnv/plugins

To customize the TinyMCE

The TinyMCE-Plugin reads the tinymceconf.cs which is placed on 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 which is placed on the templates folder of the TracEnv. Please rewrite this file.

Bugs/Feature Requests

Existing bugs and feature requests for TinyMceWikiPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

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

Built-in Example

Push the 'Edit/Create this page with WISIWYG' button on 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

Author/Contributors

Author: hirobe
Contributors: MBParker (so far just a few improvements to this page)

TagIt(plugin,hirobe,alpha,0.9)?