Closed nathpaiement closed 1 month ago
Example of a non-editor tab: The table of contents
Instead of hardcoding 'editor', could we use EditableFileView?
if (leaf.view instanceof EditableFileView) {
@o02c good point, works just as well!
Example of a non-editor tab: The table of contents