We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 47308
    • 68 Posts
    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?
      • 28042 ☆ 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.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 47308
        • 68 Posts
        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?
          • 28042 ☆ 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
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org