RoamJS / workbench

https://roamjs.com/extensions/workbench
The Unlicense
286 stars 35 forks source link

Decorated Blocks > Context Enabled Console error on first run #393

Open mdroidian opened 1 year ago

mdroidian commented 1 year ago
          > Console error:
Uncaught TypeError: parseRoamMarked is not a function
    at callback (decorators.tsx:482:27)
    at callback (createHashtagObserver.js:12:13)
    at Array.forEach (<anonymous>)
    at createHTMLObserver (createHTMLObserver.js:8:27)
    at createHashtagObserver (createHashtagObserver.js:5:94)
    at toggleFeature (decorators.tsx:473:119)
    at onClick (decorators.tsx:335:7)
...

Maybe this isn't actually from the code change. Looks like something similar exists in the current version.

helpers.ts:120 Uncaught TypeError: i is not a function
    at callback (6a693c5a-69ce-4ef4-842d-c096939dbf20:2:1646319)
    at callback (6a693c5a-69ce-4ef4-842d-c096939dbf20:2:1245300)
    at Array.forEach (<anonymous>)
    at t.default (6a693c5a-69ce-4ef4-842d-c096939dbf20:2:1244712)
    at t.Z (6a693c5a-69ce-4ef4-842d-c096939dbf20:2:1245189)
    at _n (6a693c5a-69ce-4ef4-842d-c096939dbf20:2:1646081)
    at onClick (6a693c5a-69ce-4ef4-842d-c096939dbf20:2:1644114)
...

Steps to replicate:

  1. Turn off all decorations
  2. Disable Workbench
  3. Reload Graph
  4. Enable Workbench
  5. Toggle Context Enabled.
  6. Save.

Originally posted by @mdroidian in https://github.com/dvargas92495/roamjs-workbench/issues/391#issuecomment-1483987662