Skip to content

valmiRe/rt-extension-aceeditor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DESCRIPTION

This RT extension replace the default scrip edition textarea with the embeded Ace editor (http://ace.c9.io)
It has been tested with RT 4.2

INSTALLATION

"perl Makefile.PL"
"make"
"make install"
    May need root permissions

Edit your /opt/rt4/etc/RT_SiteConfig.pm
    Plugin('RT::Extension::AceEditor');

Clear your mason cache
        rm -rf /opt/rt4/var/mason_data/obj

Restart your webserver

CONFIGURATION

Default configuration can be changed in RT_SiteConfig.pm

Set($AceEditorScripsEnable,1);
Set($AceEditorTemplatesEnable,0); # disable by default, because no mode is really suitable
Set($AceEditorWidth,'700px');
Set($AceEditorMinLines,'5');
Set($AceEditorMaxLines,'100');
Set($AceEditorTheme,'monokai');
Set($AceEditorScripsMode,'perl');
Set($AceEditorTemplatesMode,'html');

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published