From 985b3de3859dddc793823478357351b383799034 Mon Sep 17 00:00:00 2001 From: "konstantina.galouni" Date: Fri, 16 Jun 2023 14:10:52 +0300 Subject: [PATCH] rich-text-editor.component.ts: Removed "backgroundColor" from toolbarHiddenButtons | Do not show (x) close to clear the input when editable is false. --- .../library/rich-text-editor/rich-text-editor.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dmp-frontend/src/app/library/rich-text-editor/rich-text-editor.component.ts b/dmp-frontend/src/app/library/rich-text-editor/rich-text-editor.component.ts index edaf1dd56..5453a6404 100644 --- a/dmp-frontend/src/app/library/rich-text-editor/rich-text-editor.component.ts +++ b/dmp-frontend/src/app/library/rich-text-editor/rich-text-editor.component.ts @@ -10,7 +10,7 @@ import {FormControl} from "@angular/forms"; [config]="editorConfig" [formControlName]="controlName" placeholder="{{(placeholder? (placeholder | translate) : '') + (required ? ' *': '')}}" (paste)="pasteWithoutFormatting($event)"> - close + close `, styleUrls: ['./rich-text-editor.component.scss'] @@ -56,7 +56,7 @@ export class RichTextEditorComponent { ], [ 'fontSize', - 'backgroundColor', + // 'backgroundColor', // 'customClasses', 'insertImage', 'insertVideo',