mirror of
https://github.com/devon22/obsidian-gridexplorer.git
synced 2026-07-22 05:38:16 +00:00
3.4.15
This commit is contained in:
parent
8a6a48f280
commit
9602dc2c75
6 changed files with 8 additions and 8 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"id": "gridexplorer",
|
||||
"name": "GridExplorer",
|
||||
"version": "3.4.14",
|
||||
"version": "3.4.15",
|
||||
"minAppVersion": "1.8.7",
|
||||
"description": "Browse and organize note files visually in a flexible grid layout.",
|
||||
"author": "Devon22",
|
||||
|
|
|
|||
4
package-lock.json
generated
4
package-lock.json
generated
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "gridexplorer",
|
||||
"version": "3.4.14",
|
||||
"version": "3.4.15",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "gridexplorer",
|
||||
"version": "3.4.14",
|
||||
"version": "3.4.15",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"jszip": "^3.10.1"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "gridexplorer",
|
||||
"version": "3.4.14",
|
||||
"version": "3.4.15",
|
||||
"description": "Browse and organize note files visually in a flexible grid layout.",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
|
|
|||
|
|
@ -535,7 +535,7 @@ export default class GridExplorerPlugin extends Plugin {
|
|||
};
|
||||
};
|
||||
if (appWithPlugins.plugins?.plugins) {
|
||||
appWithPlugins.plugins.plugins['obsidian-gridexplorer'] = this;
|
||||
appWithPlugins.plugins.plugins['gridexplorer'] = this;
|
||||
}
|
||||
|
||||
// Override new tab behavior (for useQuickAccessAsNewTabMode setting)
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ export class MediaModal extends Modal {
|
|||
plugins?: Record<string, { activeMediaModal?: unknown }>;
|
||||
};
|
||||
};
|
||||
const plugin = appWithPlugins.plugins?.plugins?.['obsidian-gridexplorer'];
|
||||
const plugin = appWithPlugins.plugins?.plugins?.['gridexplorer'];
|
||||
if (plugin) {
|
||||
plugin.activeMediaModal = this;
|
||||
}
|
||||
|
|
@ -205,7 +205,7 @@ export class MediaModal extends Modal {
|
|||
plugins?: Record<string, { activeMediaModal?: unknown }>;
|
||||
};
|
||||
};
|
||||
const plugin = appWithPlugins.plugins?.plugins?.['obsidian-gridexplorer'];
|
||||
const plugin = appWithPlugins.plugins?.plugins?.['gridexplorer'];
|
||||
if (plugin && plugin.activeMediaModal === this) {
|
||||
plugin.activeMediaModal = null;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ export async function getFirstImageFromZip(app: App, file: TFile): Promise<strin
|
|||
export async function findFirstImageInNote(app: App, content: string): Promise<string | null> {
|
||||
try {
|
||||
const pluginAccess = app as unknown as AppPluginAccess;
|
||||
const customDocumentExtensions = pluginAccess.plugins?.plugins?.['obsidian-gridexplorer']?.settings?.customDocumentExtensions;
|
||||
const customDocumentExtensions = pluginAccess.plugins?.plugins?.['gridexplorer']?.settings?.customDocumentExtensions;
|
||||
const isZipEnabled = customDocumentExtensions
|
||||
?.split(',')
|
||||
.map((ext: string) => ext.trim().toLowerCase())
|
||||
|
|
|
|||
Loading…
Reference in a new issue