2020-02-19 19:26:38 +00:00
|
|
|
<IvyCodemirror @value={{value}} @name={{name}} @class={{class}} @options={{options}} @valueUpdated={{action onkeyup}} />
|
2019-05-01 18:09:29 +00:00
|
|
|
<pre><code>{{yield}}</code></pre>
|
|
|
|
{{#if (and (not readonly) (not syntax))}}
|
2020-02-19 19:26:38 +00:00
|
|
|
<PowerSelect @onchange={{action "change"}} @selected={{mode}} @searchEnabled={{false}} @options={{modes}} as |mode|>
|
2019-05-01 18:09:29 +00:00
|
|
|
{{mode.name}}
|
2020-02-19 19:26:38 +00:00
|
|
|
</PowerSelect>
|
2018-10-19 16:36:38 +00:00
|
|
|
{{/if}}
|