NotionやHeptabaseはそうやって動くんじゃ。 import { Editor, EditorPosition } from 'obsidian'; export function selectLineOrAll(editor: Editor): void { if (!editor) return; // 現在の選択範囲を取得 const selection = editor.getSelection(); // 現在の行の内容を取得 const cursor = editor.getCursor(); const currentLine = editor.getLine(curs…