mirror of https://github.com/nealey/vail.git
Note-taking area
This commit is contained in:
parent
3511dd5e80
commit
832eccb9fb
|
@ -207,7 +207,7 @@
|
||||||
<h2 class="mdl-card__title-text">Notes</h2>
|
<h2 class="mdl-card__title-text">Notes</h2>
|
||||||
</div>
|
</div>
|
||||||
<div class="mdl-card__supporting-text">
|
<div class="mdl-card__supporting-text">
|
||||||
<textarea class="notes">Enter your own notes here</textarea>
|
<textarea class="notes" placeholder="Enter your own notes here"></textarea>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -202,6 +202,15 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="mdl-card mdl-shadow--4dp">
|
||||||
|
<div class="mdl-card__title">
|
||||||
|
<h2 class="mdl-card__title-text">Notes</h2>
|
||||||
|
</div>
|
||||||
|
<div class="mdl-card__supporting-text">
|
||||||
|
<textarea class="notes" placeholder="Enter your own notes here"></textarea>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="mdl-card mdl-shadow--4dp">
|
<div class="mdl-card mdl-shadow--4dp">
|
||||||
<div class="mdl-card__title">
|
<div class="mdl-card__title">
|
||||||
<h2 class="mdl-card__title-text">Alphabet</h2>
|
<h2 class="mdl-card__title-text">Alphabet</h2>
|
||||||
|
|
|
@ -40,7 +40,7 @@ export class Keyboard {
|
||||||
}
|
}
|
||||||
|
|
||||||
keyboard(event) {
|
keyboard(event) {
|
||||||
if (["INPUT"].includes(document.activeElement.tagName)) {
|
if (["INPUT", "TEXTAREA"].includes(document.activeElement.tagName)) {
|
||||||
// Ignore everything if the user is entering text somewhere
|
// Ignore everything if the user is entering text somewhere
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue