mirror of
https://github.com/alberti42/obsidian-import-attachments-plus.git
synced 2026-07-22 05:11:55 +00:00
Getting the container element of File Explorer
This commit is contained in:
parent
c34946c506
commit
b84d939487
1 changed files with 2 additions and 0 deletions
|
|
@ -149,6 +149,8 @@ async function patchFileExplorer(plugin: ImportAttachments) {
|
|||
|
||||
if(isFileExplorerView(viewInstance)) {
|
||||
viewClass = viewInstance.constructor as FileExplorerViewConstructorType; // Get the class from the instance
|
||||
// console.log(viewInstance.containerEl);
|
||||
|
||||
patchFileExplorerView(plugin,viewClass);
|
||||
patched = true;
|
||||
// we want to apply the monkey-patch once, so we need to break out of the for loop
|
||||
|
|
|
|||
Loading…
Reference in a new issue