chore(client/ts): port type_widget

This commit is contained in:
Elian Doran
2025-02-05 21:06:21 +02:00
parent 7fa0ad336e
commit 5173e37d8f
5 changed files with 102 additions and 60 deletions

View File

@@ -22,11 +22,7 @@ interface CreateNoteOpts {
focus?: "title" | "content";
target?: string;
targetBranchId?: string;
textEditor?: {
// TODO: Replace with interface once note_context.js is converted.
getSelectedHtml(): string;
removeSelection(): void;
};
textEditor?: TextEditor;
}
interface Response {