### フォーカスを[[プロパティ (Obsidian)|プロパティ]]に移さない場合
`app.workspace.activeEditor.metadataEditor.insertProperties({[key]: undefined})` を使う。
### フォーカスを[[プロパティ (Obsidian)|プロパティ]]に移す場合
`app.workspace.activeEditor.metadataEditor.removeProperties([{entry: {key}}])` を使う。