From 56a1c6e60c77885eea1633aa176ecd7b5404bdc1 Mon Sep 17 00:00:00 2001
From: rhenck <richard.henck@iqb.hu-berlin.de>
Date: Mon, 1 Nov 2021 17:02:07 +0100
Subject: [PATCH] [editor] TextEditor: Add tooltip to whitespace character

The icon does not make it sufficiently clear what the purpose is.
---
 .../editor/src/app/text-editor/rich-text-editor.component.html | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/projects/editor/src/app/text-editor/rich-text-editor.component.html b/projects/editor/src/app/text-editor/rich-text-editor.component.html
index 5e3d0e4f0..948621b32 100644
--- a/projects/editor/src/app/text-editor/rich-text-editor.component.html
+++ b/projects/editor/src/app/text-editor/rich-text-editor.component.html
@@ -115,7 +115,8 @@
     <mat-icon>emoji_symbols</mat-icon>
   </button>
   <mat-menu #specialCharsMenu="matMenu" yPosition="above">
-    <button mat-button (click)="insertSpecialChar('&nbsp;')">&blank;</button>
+    <button mat-button (click)="insertSpecialChar('&nbsp;')"
+            [matTooltip]="'GeschĂĽtztes Leerzeichen'">&blank;</button>
     <button mat-button (click)="insertSpecialChar('&female;')">&female;</button>
     <button mat-button (click)="insertSpecialChar('&male;')">&male;</button>
     <button mat-button (click)="insertSpecialChar('&micro;')">&micro;</button>
-- 
GitLab