mugiwara85 / CodeblockCustomizer

Codeblock Customizer plugin for Obsidian
MIT License
147 stars 7 forks source link

Broke with latest obsidian update #60

Closed skorphil closed 8 months ago

skorphil commented 8 months ago

Hi, thanks for great plugin. Unfortunately it prevents the new version 1.14.16 of obsidian to work. With a plugin enabled obsidian not opening md files - it writes "no file selected".

Console output:

plugin:codeblock-customizer:7958 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'common')
    at create (plugin:codeblock-customizer:7958:62)
    at e.create (app.js:1:326883)
    at Object.create (app.js:1:326991)
    at e.computeSlot (app.js:1:340050)
    at tr (app.js:1:330991)
    at new e (app.js:1:336866)
    at e.create (app.js:1:339968)
    at t.clear (app.js:1:1259462)
    at t [as constructor] (app.js:1:1256527)
    at new t (app.js:1:2077556)
mugiwara85 commented 8 months ago

It does work, but apparently you have a very old version installed. Can you send the installed plugin version? Uninstall the plugin and reinstall it. Make sure that after uninstalling the plugin, the data.json file is removed.

mugiwara85 commented 8 months ago

Or the plugin is updated, but you forgot to remove the data.json file. There was a bigger change a few versions ago, which required removing the data.json file.

skorphil commented 8 months ago

Where can i found data.json?

On Tue, Oct 24, 2023, 20:21 mugiwara85 @.***> wrote:

Or the plugin is updated, but you forgot to remove the data.json file. There was a bigger change a few versions ago, which required removing the data.json file.

— Reply to this email directly, view it on GitHub https://github.com/mugiwara85/CodeblockCustomizer/issues/60#issuecomment-1777587457, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTS4GNYIOB65THANUG4LF3YA7TIRAVCNFSM6AAAAAA6N5Z32WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZXGU4DONBVG4 . You are receiving this because you authored the thread.Message ID: @.***>

mugiwara85 commented 8 months ago

In your PluginFolder\.obsidian\plugins\codeblock-customizer\

skorphil commented 8 months ago

Thank you! Now its working

On Tue, Oct 24, 2023, 20:49 mugiwara85 @.***> wrote:

In your PluginFolder.obsidian\plugins\codeblock-customizer\

— Reply to this email directly, view it on GitHub https://github.com/mugiwara85/CodeblockCustomizer/issues/60#issuecomment-1777637690, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTS4GO2D5F6SSEHHMXO4O3YA7WRFAVCNFSM6AAAAAA6N5Z32WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZXGYZTONRZGA . You are receiving this because you authored the thread.Message ID: @.***>

mugiwara85 commented 8 months ago

No problem!