rich-text-editor.component.ts: Removed "backgroundColor" from toolbarHiddenButtons | Do not show (x) close to clear the input when editable is false.
This commit is contained in:
parent
2aa1f76aab
commit
985b3de385
|
@ -10,7 +10,7 @@ import {FormControl} from "@angular/forms";
|
||||||
[config]="editorConfig" [formControlName]="controlName"
|
[config]="editorConfig" [formControlName]="controlName"
|
||||||
placeholder="{{(placeholder? (placeholder | translate) : '') + (required ? ' *': '')}}"
|
placeholder="{{(placeholder? (placeholder | translate) : '') + (required ? ' *': '')}}"
|
||||||
(paste)="pasteWithoutFormatting($event)"></angular-editor>
|
(paste)="pasteWithoutFormatting($event)"></angular-editor>
|
||||||
<mat-icon *ngIf="formInput.value" (click)="formInput.patchValue('')" class="clear">close</mat-icon>
|
<mat-icon *ngIf="formInput.value && editable" (click)="formInput.patchValue('')" class="clear">close</mat-icon>
|
||||||
</div>
|
</div>
|
||||||
`,
|
`,
|
||||||
styleUrls: ['./rich-text-editor.component.scss']
|
styleUrls: ['./rich-text-editor.component.scss']
|
||||||
|
@ -56,7 +56,7 @@ export class RichTextEditorComponent {
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'fontSize',
|
'fontSize',
|
||||||
'backgroundColor',
|
// 'backgroundColor',
|
||||||
// 'customClasses',
|
// 'customClasses',
|
||||||
'insertImage',
|
'insertImage',
|
||||||
'insertVideo',
|
'insertVideo',
|
||||||
|
|
Loading…
Reference in New Issue