## 概要 プレビュー機能の導入により、select/unselectなどで代替可能 かつ 動作に影響するいくつかの機能を削除する。メンテナンスコストを下げるため。 ## 対象 - main - open in new tab in background - open all in new tab in background - insert to editor in background - insert all to editor - backlink - open in new tab in background - open all in new tab in background - link - open in new tab in background - open all in new tab in background - grep - open in new tab in background - open all in new tab in background "new-tab-background" ## 気になる点 mainのcanvasに対する挿入部分が気になる ```ts this.registerKeys("insert all to editor", async () => { await this.safeClose(); let offsetX = 0; for (const x of this.chooser.values ?? []) { if (this.appHelper.isActiveLeafCanvas()) { const cv = this.appHelper.addFileToCanvas(x.file, { x: offsetX, y: 0, }); offsetX += cv.width + 30; } else { insertLinkToActiveMarkdownFile(x.file, x); this.appHelper.insertStringToActiveFile("\n"); } } }); ``` 問題なかった。