Skip to content

kalmykov/redmine_wysiwyg_textile

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Redmine Wysiwyg Textile Editor

A TinyMCE test application for Textile wiki pages.

Currently this is a test version for in-house use only since there is a few issues that need to be sorted out regarding the conversion to and from textile and other security issues. If you stick to simple textile formatting it's not a problem, but when it comes to images and macros that's another issue.

A better option would be to write a javascript wysiwyg editor for redmine like the one used in Trac.

Installation

  1. Copy the plugin directory into the vendor/plugins directory (make sure the name is redmine_wysiwyg_textile)
  2. Install hpricot gem: gem install hpricot
  3. Run migration: rake db:migrate:plugins
  4. Start Redmine
  5. Change text formatting (Administration > Settings > General > Text formatting) to "textile wysiwyg"
  6. Choose default editor in your account options(My accaunt > Default editor)

Usage

When editing a wiki page a radio button will be displayed below the Save button. This radio button allows the user to switch between the standard redmine textile editor and the tinymce wysiwyg editor.

History

12 Oct 2010 - v0.11 - fixed bug related to saving raw html in Wysiwyg mode.

14 Oct 2010 - v0.12 - preview now works in wysiwyg mode.

14 Oct 2010 - v0.13 - preview now works for google chrome and IE

14 Oct 2010 - v0.14 - removed P. from html to textile, replaced with just a return (\n)

14 Oct 2011 - v0.15 - Added default editor option. Many changes in convertation : added support for all redmine textile tags. Author: Alexey Kalmykov (alexey.kalmykov@lanit-tercom.com), Lanit-Tercom, Inc

About

Redmine Wysiwyg Textile Editor using tinymce

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 78.2%
  • Ruby 21.8%