Use umb-code-snippet component for insert field code snippet
This commit is contained in:
committed by
Sebastiaan Janssen
parent
b8e23ac56f
commit
b6f6b1a438
@@ -18,6 +18,7 @@
|
||||
justify-content: flex-start;
|
||||
flex-grow: 1;
|
||||
padding: 2px 10px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
button {
|
||||
|
||||
+1
-1
@@ -71,7 +71,7 @@
|
||||
<div class="umb-el-wrap">
|
||||
<div class="controls">
|
||||
<label class="control-label"><localize key="templateEditor_outputSample">Output sample</localize></label>
|
||||
<pre>{{ vm.generateOutputSample() }}</pre>
|
||||
<umb-code-snippet language="'cshtml'">{{ vm.generateOutputSample() }}</umb-code-snippet>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user