Skip to content
Snippets Groups Projects
Commit 7bc1ac8c authored by rhenck's avatar rhenck
Browse files

[editor] Add toggle-button to TextEditor in Cloze-mode

Also improve tooltips.
parent 56f65547
No related branches found
No related tags found
No related merge requests found
...@@ -245,14 +245,18 @@ ...@@ -245,14 +245,18 @@
</button> </button>
</div> </div>
<div *ngIf="showCloseElements" fxLayout="row" fxLayoutAlign="space-around center" > <div *ngIf="showCloseElements" fxLayout="row" fxLayoutAlign="space-around center" >
<button mat-icon-button matTooltip="\i" [matTooltipShowDelay]="300" <button mat-icon-button matTooltip="Eingabefeld (\i)" [matTooltipShowDelay]="300"
(click)="insertSpecialChar('\\i')"> (click)="insertSpecialChar('\\i')">
<mat-icon>text_fields</mat-icon> <mat-icon>text_fields</mat-icon>
</button> </button>
<button mat-icon-button matTooltip="\z" [matTooltipShowDelay]="300" <button mat-icon-button matTooltip="Ablegefeld (\z)" [matTooltipShowDelay]="300"
(click)="insertSpecialChar('\\z')"> (click)="insertSpecialChar('\\z')">
<mat-icon>drag_indicator</mat-icon> <mat-icon>drag_indicator</mat-icon>
</button> </button>
<button mat-icon-button matTooltip="Optionsfeld (\r)" [matTooltipShowDelay]="300"
(click)="insertSpecialChar('\\r')">
<mat-icon>radio_button_checked</mat-icon>
</button>
</div> </div>
</div> </div>
<tiptap-editor [editor]="editor" [ngModel]="text" <tiptap-editor [editor]="editor" [ngModel]="text"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment