1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-02 12:05:23 +02:00

moved emberjs to gui folder

This commit is contained in:
Harvey Kandola 2017-07-19 14:48:33 +01:00
parent 6a18d18f91
commit dc49dbbeff
999 changed files with 677 additions and 651 deletions

View file

@ -0,0 +1,19 @@
{{#section/base-editor-inline document=document folder=folder page=page tip="Concise name that describes code snippet" isDirty=(action 'isDirty') onCancel=(action 'onCancel') onAction=(action 'onAction')}}
<div class="section-code-editor">
<div class="syntax-selector">
{{ui-select id=syntaxId
content=syntaxOptions
action=(action 'onSyntaxChange')
optionValuePath="mode"
optionLabelPath="name"
selection=codeSyntax}}
</div>
<style>
.CodeMirror {
height: auto !important;
font-size: 17px;
}
</style>
{{focus-textarea value=pageBody id=editorId class="mousetrap"}}
</div>
{{/section/base-editor-inline}}

View file

@ -0,0 +1,4 @@
<style>
.CodeMirror { height: auto !important;}
</style>
<textarea id="page-{{page.id}}-code" value={{codeBody}}></textarea>