31 lines
1.0 KiB
HTML
31 lines
1.0 KiB
HTML
|
<div class="user-guide-editor">
|
||
|
<form (ngSubmit)="submit()" [formGroup]="formGroup">
|
||
|
<div class="row">
|
||
|
<mat-card class="col-md-8 offset-md-2">
|
||
|
<mat-card-title><div>{{'GUIDE.TITLE' | translate}}</div></mat-card-title>
|
||
|
<mat-card-content>
|
||
|
<editor [init]="{
|
||
|
base_url: '/tinymce',
|
||
|
suffix: '.min',
|
||
|
height: 800,
|
||
|
menubar: true,
|
||
|
plugins: [
|
||
|
'advlist autolink lists link image charmap print preview anchor',
|
||
|
'searchreplace visualblocks code fullscreen fullpage',
|
||
|
'insertdatetime media table paste code help wordcount importcss'
|
||
|
],
|
||
|
toolbar:
|
||
|
'undo redo | formatselect | bold italic backcolor | \
|
||
|
alignleft aligncenter alignright alignjustify | \
|
||
|
bullist numlist outdent indent | code | preview | removeformat | help'
|
||
|
}" formControlName="html"></editor>
|
||
|
</mat-card-content>
|
||
|
</mat-card>
|
||
|
<button mat-fab class="mat-fab-bottom-right save-btn" type="submit">
|
||
|
<mat-icon class="mat-24" title="save">save</mat-icon>
|
||
|
</button>
|
||
|
</div>
|
||
|
|
||
|
</form>
|
||
|
</div>
|