Skip to content

setting-components/folder-list-component

Contains a component that edits a reorderable list of folders, with a folder suggest.

Class Description
FolderInputSuggest Suggests the vault’s folders, the root included, in an <input>, matching the typed text against the folder path.
FolderListComponent A ListComponent of vault folder paths: the add row suggests the vault’s folders, and a typed path is normalized with Obsidian’s normalizePath, so the root reads as /. A path need not exist yet. You can add this component using SettingEx.addFolderList.