Note-taking area

This commit is contained in:
Neale Pickett 2021-07-16 09:10:50 -07:00
parent 3511dd5e80
commit 832eccb9fb
3 changed files with 11 additions and 2 deletions

View File

@ -207,7 +207,7 @@
<h2 class="mdl-card__title-text">Notes</h2>
</div>
<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>

View File

@ -202,6 +202,15 @@
</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__title">
<h2 class="mdl-card__title-text">Alphabet</h2>

View File

@ -40,7 +40,7 @@ export class Keyboard {
}
keyboard(event) {
if (["INPUT"].includes(document.activeElement.tagName)) {
if (["INPUT", "TEXTAREA"].includes(document.activeElement.tagName)) {
// Ignore everything if the user is entering text somewhere
return
}