You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I searched for existing Bug Reports and found no similar reports.
Expected Behavior
The dice roller expression fails to work, but the markdown file still loads.
Current behaviour
A "failed to open" toast appears in the top left, along with the following logs in console:
RangeError: Decorations that replace line breaks may not be specified via plugins
at e.point (app.js:1:339025)
at e.spans (app.js:1:295577)
at e.build (app.js:1:340067)
at t.updateChildren (app.js:1:355362)
at t.updateInner (app.js:1:353846)
at t.update (app.js:1:353650)
at e.update (app.js:1:443479)
at e.dispatchTransactions (app.js:1:440040)
at e.dispatch (app.js:1:442028)
at t.set (app.js:1:1622386)
(anonymous) @ app.js:1
Think this is mis-reported. I previously had it crashing when the block was unknown, and then fixed it by making it a real block (there was a typo), but now even the real block does not work, so it must be something about that block instead. I will upload the full files to a gist
Restioson
changed the title
🐞 File view crashes when rolling on table via block reference that does not exist
🐞 File view crashes when unclosed dice rolling inline block + property present
Dec 18, 2024
Check for existing bug reports before submitting.
Expected Behavior
The dice roller expression fails to work, but the markdown file still loads.
Current behaviour
A "failed to open" toast appears in the top left, along with the following logs in console:
Reproduction
Make a file like this: https://gist.github.com/Restioson/872daa6b46b73f696549b30c53c2a44e. The fact that the markdown is malformed is necessary!
Enable the plugin and try to open the Random page again. It should crash
Which Operating Systems are you using?
Obsidian Version Check
1.7.7 and 1.4.16
Plugin Version
11.4.1
Confirmation
The text was updated successfully, but these errors were encountered: