diff --git a/ts/editor/EditingArea.svelte b/ts/editor/EditingArea.svelte
index 6dc95ea0a..be5654a79 100644
--- a/ts/editor/EditingArea.svelte
+++ b/ts/editor/EditingArea.svelte
@@ -9,10 +9,17 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
export interface EditingInputAPI {
readonly name: string;
- focus(): void;
- refocus(): void;
focusable: boolean;
- moveCaretToEnd(): void;
+ /**
+ * The reaction to a user-initiated focus, e.g. by clicking on the
+ * editor label, or pressing Tab.
+ */
+ focus(): void;
+ /**
+ * Behaves similar to a refresh, e.g. sync with content, put the caret
+ * into a neutral position, and/or clear selections.
+ */
+ refocus(): void;
}
export interface EditingAreaAPI {
@@ -29,7 +36,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
diff --git a/ts/editor/EditorField.svelte b/ts/editor/EditorField.svelte
index 23fa633b7..5915b9c25 100644
--- a/ts/editor/EditorField.svelte
+++ b/ts/editor/EditorField.svelte
@@ -44,7 +44,6 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
export let content: Writable;
export let field: FieldData;
- export let autofocus = false;
const directionStore = writable<"ltr" | "rtl">();
setContext(directionKey, directionStore);
@@ -88,7 +87,6 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html