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"
|
||||
placeholder="{{(placeholder? (placeholder | translate) : '') + (required ? ' *': '')}}"
|
||||
(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>
|
||||
`,
|
||||
styleUrls: ['./rich-text-editor.component.scss']
|
||||
|
@ -56,7 +56,7 @@ export class RichTextEditorComponent {
|
|||
],
|
||||
[
|
||||
'fontSize',
|
||||
'backgroundColor',
|
||||
// 'backgroundColor',
|
||||
// 'customClasses',
|
||||
'insertImage',
|
||||
'insertVideo',
|
||||
|
|
Loading…
Reference in New Issue