Fork me on GitHub

tinymce-renderer-plugin

IMPORTANT!

A bug has recently been found in the plugin when used with Jira 5.0 which makes this plugin unusable UPDATE: The Jira 5 bug has been resolved by Atlassian in version 5.0.3 which is now available. Version 1.6.1 of the plugin is released in order to support existing users of the plugin, however no further support will be provided.

Please note: I am finding it increasingly hard to find time to provide the minimum support necessary, therefore this plugin is no longer supported. Please do not use this for any version of Jira as any upgrade or system change may result in the plugin not working.

For existing users of the plugin who wish to update their Jira instance: I recommend first testing the plugin in the new version (excluding version 5), and if this fails to work either disable the plugin and allow your users to edit the html in the existing fields by hand, or use the Reverse Renderer to remove the html tags.

Description

Jira plugin that provides a wysiwyg textarea renderer using the TinyMCE Editor.
Editing With TinyMCE

Links

Install

Features / Limitations

Because this plugin scratches my itch only a few of the TinyMCE plugins and themes are available:

Usage Notes

The buttons in the Editor are pretty self-explanatory, and more information can be found on the TinyMCE site.

For instructions on how to revert to plain text should you wish to stop using the plugin please see: Reverting to Plain Text

For instructions on how to modify templates in order to answer issue 18 (Emails are messy), please see: Modifying Templates

For instructions on how to modify templates in order to answer issue 17 (Export to Excel in Jira showing html tags for fields rendered by TinyMce), please see this comment for a possible solution.

Editing a page

Editing With TinyMCE

The rendered content

Rendered Content

Adding an image

Images cannot be directly uploaded using the TinyMCE editor. Instead, upload the image to the issue, make a note of the URL, and use this in the image popup.

Update: It seems that Firefox allows you to paste an image from your clipboard directly into the editor! Keep in mind that the image data is stored in the database, not in the attachments folder.

Noting Image URL Adding Image Preview Image

Multiple Renderers

Version 1.1 allows multiple renderers when editing an issue.

Multiple Renderers

Wiki Text Translation

Version 1.4 gives an administration option which, when set, will force the plugin to translate any wiki text into html.

It is important to realise that this makes a permanent modification to the format of the field at the point when it is next edited, and this is not reversable! Be very sure that you want to make the conversion, and always make a backup of the data.

The images below show the effects of the option, plus what would happen if the field renderer is reverted after a field is edited.

  1. Environment Field edited with Wiki Renderer.
  2. Environment Field edited with Wiki Renderer.
  3. Environment Field rendered with Wiki Renderer.
  4. wikiTextTranslation
  5. (Not shown: Changing the renderer for the Environment field from Wiki to TinyMCE)
  6. TinyMCE plugin option to convert Wiki text to html. Found in the Administration Page.
  7. wikiTextTranslation
  8. Environment Field edited with TinyMCE Renderer.
  9. wikiTextTranslation
  10. (Not shown: Environment Field rendered with TinyMCE Renderer. Same output as with Wiki Renderer)
  11. Environment Field rendered with Wiki Renderer if converted to html!
  12. wikiTextTranslation

Releases

Support

This plugin is unsupported, I am releasing it in case it is useful for people. If the plugin is not working whatsoever I will try and find time to help resolve the issue. I do not currently plan on implementing more themes or mce-plugins, but will help as much as I can if you want to extend the plugin for your environment.

If you do encounter a problem, there is an issue tracker on github. Please be as specific as you can, and if possible include the following information:

Modifications to the TinyMCE Library

License

BSD

Authors

Gary Hodgson (contact@garyhodgson.com)

Download

You can download this project in either zip or tar formats.

You can also clone the project with Git by running:

$ git clone git://github.com/garyhodgson/tinymce-renderer-plugin