Indigo744 / Modx-Revo-Simple-Ace-Code-Editor

Ace (Ajax.org Cloud9 Editor) *simple* integration for MODx Revolution.
GNU General Public License v3.0
8 stars 2 forks source link

Question about Properties #11

Closed ozmaat closed 6 years ago

ozmaat commented 6 years ago

Hi,

Thanks for the great extra.

I have defined a property set and change the theme from new property set but it is not reflected. If I change it the from default, it works.

Is it possible to save the editor properties that you open with ctrl + Q. I can change these properties like wrapping or font-size, but each time you open the editor, you have to manually change them again.

Indigo744 commented 6 years ago

Hello,

If I recall correctly how modx Revo handle Property Sets, you also need to apply the new Property Set to each of the plugin's events (should be in events tab, last column). It's not that obvious, I know.

As for your second request, I will try to have a look into persistent options.

Indigo744 commented 6 years ago

@ozmaat sadly I couldn't find an easy/simple way to do this. Ace doesn't seem to support it, and I don't have the time to code an extension for it.

May I ask which settings you need to set each time?

Indigo744 commented 6 years ago

Depending on the setting, I may be able to offer you the ability to set it through Plugin Properties.

ozmaat commented 6 years ago

Thanks for the feedback. Having soft wrap and font size settings would be great.

Indigo744 commented 6 years ago

I'll add it for 1.5.0. Stay tuned 😉

Indigo744 commented 6 years ago

@ozmaat could you try the latest 1.5.0-beta3 and tell me if everything is good for you?

I added SoftWraps, FontSize and SoftTabs properties.

ozmaat commented 6 years ago

@Indigo744. Sorry for the late response. I have installed and all is okay. Thanks a lot for the changes.