Skip to content
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.

advanced editor mode configuration #158

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

advanced editor mode configuration #158

wants to merge 1 commit into from

Conversation

vanilla-thunder
Copy link

some editor modes allow extended options, e.g. inline:true for php mode
( ajaxorg/ace#2542 )
It can be configured this way:

<div ui-ace="{ mode: {path:'ace/mode/php',inline:true} }"></div>

although setMode() is still undocumented, this should work for all other possible options, too.

some editor modes allow extended options, e.g. inline:true for php mode
( ajaxorg/ace#2542 )
It can be used this way:
```html
<div ui-ace="{ mode: {path:'ace/mode/php',inline:true} }"></div>
```
although setMode() is still undocumented, this should work for all other possible options, too.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant