diff --git a/ts/editor/changeTimer.ts b/ts/editor/changeTimer.ts index 0b6566c4c..5b7ce8153 100644 --- a/ts/editor/changeTimer.ts +++ b/ts/editor/changeTimer.ts @@ -1,3 +1,6 @@ +/* Copyright: Ankitects Pty Ltd and contributors + * License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html */ + import type { EditingArea } from "."; import { getCurrentField } from "."; diff --git a/ts/editor/focusHandlers.ts b/ts/editor/focusHandlers.ts index df5d0d16b..112c42172 100644 --- a/ts/editor/focusHandlers.ts +++ b/ts/editor/focusHandlers.ts @@ -1,3 +1,6 @@ +/* Copyright: Ankitects Pty Ltd and contributors + * License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html */ + import type { EditingArea, EditorField } from "."; import { bridgeCommand } from "./lib"; diff --git a/ts/editor/helpers.ts b/ts/editor/helpers.ts index c2ce1efc1..da7cb5d27 100644 --- a/ts/editor/helpers.ts +++ b/ts/editor/helpers.ts @@ -1,3 +1,6 @@ +/* Copyright: Ankitects Pty Ltd and contributors + * License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html */ + export function nodeIsElement(node: Node): node is Element { return node.nodeType === Node.ELEMENT_NODE; } diff --git a/ts/editor/htmlFilter.ts b/ts/editor/htmlFilter.ts index bb995cbd9..39a2cad9e 100644 --- a/ts/editor/htmlFilter.ts +++ b/ts/editor/htmlFilter.ts @@ -1,3 +1,6 @@ +/* Copyright: Ankitects Pty Ltd and contributors + * License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html */ + import { nodeIsElement } from "./helpers"; export function filterHTML( diff --git a/ts/editor/inputHandlers.ts b/ts/editor/inputHandlers.ts index d60c64165..f153d1968 100644 --- a/ts/editor/inputHandlers.ts +++ b/ts/editor/inputHandlers.ts @@ -1,3 +1,6 @@ +/* Copyright: Ankitects Pty Ltd and contributors + * License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html */ + import { EditingArea } from "."; import { nodeIsElement } from "./helpers"; import { triggerChangeTimer } from "./changeTimer"; diff --git a/ts/editor/lib.ts b/ts/editor/lib.ts index 3797974c8..63a9b0324 100644 --- a/ts/editor/lib.ts +++ b/ts/editor/lib.ts @@ -1,3 +1,6 @@ +/* Copyright: Ankitects Pty Ltd and contributors + * License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html */ + declare global { interface Window { bridgeCommand(command: string, callback?: (value: T) => void): void; diff --git a/ts/editor/noteId.ts b/ts/editor/noteId.ts index e787a77d6..649db8d5e 100644 --- a/ts/editor/noteId.ts +++ b/ts/editor/noteId.ts @@ -1,3 +1,6 @@ +/* Copyright: Ankitects Pty Ltd and contributors + * License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html */ + let currentNoteId: number | null = null; export function setNoteId(id: number): void { diff --git a/ts/editor/toolbar.ts b/ts/editor/toolbar.ts index f0410d78f..95a05896f 100644 --- a/ts/editor/toolbar.ts +++ b/ts/editor/toolbar.ts @@ -1,3 +1,6 @@ +/* Copyright: Ankitects Pty Ltd and contributors + * License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html */ + import { EditingArea } from "."; export function updateButtonState(): void { diff --git a/ts/editor/wrap.ts b/ts/editor/wrap.ts index 2408fe0f5..3c45b731c 100644 --- a/ts/editor/wrap.ts +++ b/ts/editor/wrap.ts @@ -1,3 +1,6 @@ +/* Copyright: Ankitects Pty Ltd and contributors + * License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html */ + import { getCurrentField, setFormat } from "."; function wrappedExceptForWhitespace(text: string, front: string, back: string): string {