Satisfy linter
This commit is contained in:
parent
a3a59f0293
commit
767af9e478
@ -180,6 +180,7 @@ svelte_check(
|
||||
"//ts/sass:button_mixins_lib",
|
||||
"//ts/sass/bootstrap",
|
||||
"//ts/components:svelte_components",
|
||||
"//ts/components",
|
||||
"@npm//@types/bootstrap",
|
||||
],
|
||||
)
|
||||
|
@ -168,7 +168,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||
let:shortcutLabel
|
||||
>
|
||||
<DropdownItem
|
||||
on:click={(event) => wrapCurrent("[$$]", "[/$$]", event)}
|
||||
on:click={() => wrapCurrent("[$$]", "[/$$]")}
|
||||
on:mount={createShortcut}
|
||||
>
|
||||
{tr.editingLatexMathEnv()}
|
||||
|
@ -40,12 +40,12 @@ export class Editable extends HTMLElement {
|
||||
this.setAttribute("contenteditable", "");
|
||||
}
|
||||
|
||||
focus() {
|
||||
focus(): void {
|
||||
super.focus();
|
||||
setEditableButtons();
|
||||
}
|
||||
|
||||
caretToEnd() {
|
||||
caretToEnd(): void {
|
||||
caretToEnd(this);
|
||||
}
|
||||
|
||||
|
@ -155,7 +155,6 @@ export class EditingArea extends HTMLDivElement {
|
||||
this.editable.hidden = false;
|
||||
} else {
|
||||
this.editable.hidden = true;
|
||||
console.log("eyo", this.fieldHTML);
|
||||
this.codable.setup(this.fieldHTML);
|
||||
}
|
||||
|
||||
|
@ -1,7 +1,9 @@
|
||||
// Copyright: Ankitects Pty Ltd and contributors
|
||||
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||
|
||||
import type { EditingArea } from "./editingArea";
|
||||
/* eslint
|
||||
@typescript-eslint/no-non-null-assertion: "off",
|
||||
*/
|
||||
|
||||
export function nodeIsElement(node: Node): node is Element {
|
||||
return node.nodeType === Node.ELEMENT_NODE;
|
||||
|
Loading…
Reference in New Issue
Block a user