obsidian-workspaces-plus icon indicating copy to clipboard operation
obsidian-workspaces-plus copied to clipboard

Console error: Uncaught TypeError - this.app.customCSS.applyCSS is not a function

Open lunule opened this issue 8 months ago • 0 comments

The console is displaying this error:

app.js:1 Uncaught TypeError: this.app.customCss.applyCss is not a function
    at WorkspacesPlus.applySettings (plugin:workspaces-plus:4528:28)
    at WorkspacesPlus.onWorkspaceLoad (plugin:workspaces-plus:4217:22)
    at e.tryTrigger (app.js:1:725925)
    at e.trigger (app.js:1:725858)
    at t.trigger (app.js:1:2234949)
    at e.loadWorkspace (plugin:workspaces-plus:4620:40)
    at e.wrapper [as loadWorkspace] (plugin:workspaces-plus:3158:24)
    at WorkspacesPlusPluginWorkspaceModal.loadWorkspace (plugin:workspaces-plus:2813:30)
    at WorkspacesPlusPluginWorkspaceModal.onChooseItem (plugin:workspaces-plus:2807:18)
    at t.onChooseSuggestion (app.js:1:1564140)

To Reproduce

Steps to reproduce the behavior:

  • Open Obsidian
    • with the plugin enabled, and
    • with the custom option enabled at Appearance > CSS Snippets
  • Open console to monitor errors.

Expected behavior

No errors in console.

Screenshot:

image

Desktop (please complete the following information):

OS: Windows 11 Obsidian desktop app Version 1.6.3 ASUS notebook

Additional context Workspaces Plus v0.3.3

lunule avatar Jun 17 '24 04:06 lunule