3 changed files with 8 additions and 0 deletions
@@ -15,6 +15,7 @@
<textarea class="text-editor" <textarea class="text-editor"
[(ngModel)]="text" [(ngModel)]="text"
autofocus autofocus
(keydown.escape)="cancelEditText()"
(keydown.control.enter)="keydownEnter()" (keydown.control.enter)="keydownEnter()"
(keydown.alt.enter)="keydownEnter()"></textarea> (keydown.alt.enter)="keydownEnter()"></textarea>
<div class="pull-right buttons"> <div class="pull-right buttons">
@@ -1,4 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" <svg xmlns="http://www.w3.org/2000/svg"
class="svgKeyboard"
[attr.viewBox]="viewBox" [attr.viewBox]="viewBox"
height="100%" height="100%"
width="100%"> width="100%">

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

@@ -3,8 +3,14 @@
width: 100%; width: 100%;
position: relative; position: relative;
} }
.svgKeyboard {
z-index: 50;
}
editable-text { editable-text {
padding-left: 2em; padding-left: 2em;
padding-right: 2em; padding-right: 2em;
display: block; display: block;
z-index: 51;
} }