javalent / dice-roller

Inline dice rolling for Obsidian.md
265 stars 27 forks source link

🐞 Inline rolls don't work on canvas cards #303

Open deadlyjackattack opened 4 months ago

deadlyjackattack commented 4 months ago

Check for existing bug reports before submitting.

Expected Behavior

A canvas is created and a note is added, with `dice:1d20". . It should allow one to use it like any other inline roller.

Current behaviour

The problem as described: image image

What I expected to see: image

Oddly enough, embedding another page lets it work (though clumsily): image image

Reproduction

Create a canvas, add a card, enter either single (`) or triple tildes (`) for a code block, and type the text for a roll (e.g. "roll:1d20+1")

Which Operating Systems are you using?

Obsidian Version Check

Obsidian: 1.5.11; Installer: 1.5.8

Plugin Version

Plugin: 10.4.6

Confirmation

Possible solution

No response