ember-ace icon indicating copy to clipboard operation
ember-ace copied to clipboard

How to implement a custom mode?

Open panthony opened this issue 8 years ago • 1 comments

I need to create a custom mode for ace editor but I have no clue on how to proceed to package it into an ember app.

  • How to import dependency from Ace ?
  • How to export the mode?

Did someone try to do something like this?

Thanks for any pointers on how to do this.

panthony avatar Nov 08 '17 15:11 panthony

Hi @panthony — there are some sketchy details laid out in https://github.com/dfreeman/ember-ace/issues/8, but there's no definitive guide beyond that right now.

At some point I'd like to write up a walkthrough on implementing a custom mode, but unfortunately it's pretty far down my list of projects. If you make any progress based on the linked info above, a PR to add what you work out to the README would be appreciated!

dfreeman avatar Nov 10 '17 21:11 dfreeman