1d26f056bc
* Updated code mirror component for consistency - Hide gutters, line number and selection while read only - Show toolbar with copy functionality for all instances * Moved toolbar and actions to json editor component * Updated form-field-from-model template * Added test for toolbar
11 lines
332 B
Handlebars
11 lines
332 B
Handlebars
<div class="console-ui-output has-copy-button">
|
|
<JsonEditor @showToolbar={{false}} @value={{stringify content}} @options={{hash
|
|
readOnly=true
|
|
lineNumbers=false
|
|
autoHeight=true
|
|
gutters=false
|
|
theme='hashi auto-height'
|
|
}} />
|
|
<HoverCopyButton @copyValue={{stringify content}} />
|
|
</div>
|