Hi. I'm used to using Sublime Text to write and edit code. Is there something similar that I can install as an extra into Revo 2.2? I'd like to be able to keep orderly, indented code and perhaps support for closing tags.
Is TinyMCE strictly for WYSIWYG or is there a configuration option for plain text?
Recommendations?
-
☆ A M B ☆
- 24,524 Posts
There is Ace and CodeMirror. I've been using Ace a lot lately, although for a long time I preferred CodeMirror.
Ace looks good but there doesn't seem to be an Undo. I can Ctrl-Z and reverse edits but once I save the code, the Undo is gone. Sublime Text has unlimited Undo and Redo.
Because I'm new to ModX, I make small changes, refresh the page and then move to the next change or, quite often, undo my change.
Am I asking for too much?
-
☆ A M B ☆
- 24,524 Posts
Hm. I'm able to undo as long as I have the page open, whether or not I save. Perhaps it has something to do with the browser - I use Firefox 29.
You can use static elements and resources, and still use Sublime Text.
http://wbond.net/sublime_packages/sftp