Skip to content

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

Description

@lunule

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions