DEV: Update ace-editor usage (#220)
AceEditor is now a glimmer component (see: https://github.com/discourse/discourse/pull/28492) and it follows the "data down, actions up" pattern.
This commit is contained in:
parent
95993e7d93
commit
35cc34ab17
|
@ -1,7 +1,11 @@
|
||||||
<section class="edit-house-ad content-body">
|
<section class="edit-house-ad content-body">
|
||||||
<h1><TextField @value={{this.buffered.name}} class="house-ad-name" /></h1>
|
<h1><TextField @value={{this.buffered.name}} class="house-ad-name" /></h1>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<AceEditor @content={{this.buffered.html}} @mode="html" />
|
<AceEditor
|
||||||
|
@content={{this.buffered.html}}
|
||||||
|
@onChange={{fn (mut this.buffered.html)}}
|
||||||
|
@mode="html"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<div class="visibility-settings">
|
<div class="visibility-settings">
|
||||||
|
|
Loading…
Reference in New Issue