A very early alpha of AceEditor for CMSMS 2.x

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
Guido
Forum Members
Forum Members
Posts: 221
Joined: Sat Aug 29, 2009 3:00 pm

A very early alpha of AceEditor for CMSMS 2.x

Post by Guido »

USE AT YOUR OWN RISK:

https://github.com/Luke1982/aceeditor2 is where you can download the module. Copy it to you modules folder and click install in the module manager. Right now it only has a dropdown that lets you select the mode, which you have to do manually. You can select CSS, Smarty and HTML.
Guido
Forum Members
Forum Members
Posts: 221
Joined: Sat Aug 29, 2009 3:00 pm

Re: A very early alpha of AceEditor for CMSMS 2.x

Post by Guido »

One thing I'd like to do: I see the admin section knows whether it's loading a TPL, or a CSS file. How can I catch this in my module class file? I'd like to use it so auto-set the editor mode.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: A very early alpha of AceEditor for CMSMS 2.x

Post by calguy1000 »

you can get the 'language' hint from the data-cms-lang attribute of the textarea.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Guido
Forum Members
Forum Members
Posts: 221
Joined: Sat Aug 29, 2009 3:00 pm

Re: A very early alpha of AceEditor for CMSMS 2.x

Post by Guido »

Damn that's exactly what I need! Thanks.
Guido
Forum Members
Forum Members
Posts: 221
Joined: Sat Aug 29, 2009 3:00 pm

Re: A very early alpha of AceEditor for CMSMS 2.x

Post by Guido »

Well, the module now has the following:
  • Automatic detection of the language.
  • A top toolbar that allows you to select a different language.
  • A slider in the top toolbar that allows you to adjust text size while editing.
  • Right side and bottom are dragable, so easy to adjust size.
You still have to install it via manual upload, there is no preference admin screen, there is no uninstall, code needs cleanup, but it works. Now I'm ashamed to say I don't know how to upload this beta version to the project. The project exists, I just don't understand how to upload the tar file.
LB Back
Forum Members
Forum Members
Posts: 20
Joined: Sat Jan 31, 2009 3:48 pm

Re: A very early alpha of AceEditor for CMSMS 2.x

Post by LB Back »

Thanks a lot for the 1.05 version! Great improvement to the use of cmsms 2.1.1. Is there any chance there will be a theme-selector in the near future? I'm an old-fashioned guy and very much used to the Dreamweaver theme, or any theme with a white background. Thanks anyway!
Guido
Forum Members
Forum Members
Posts: 221
Joined: Sat Aug 29, 2009 3:00 pm

Re: A very early alpha of AceEditor for CMSMS 2.x

Post by Guido »

That's all in the pipeline, but I don't have a time schedule yet. Please create a feature request for this in the forge as a reminder for me about this.
LB Back
Forum Members
Forum Members
Posts: 20
Joined: Sat Jan 31, 2009 3:48 pm

Re: A very early alpha of AceEditor for CMSMS 2.x

Post by LB Back »

Thanks, will do!
Post Reply

Return to “Modules/Add-Ons”