javalent / dice-roller

Inline dice rolling for Obsidian.md
274 stars 28 forks source link

🐞 dice-mod: doesn't execute when used as a section roller. #336

Closed StalwartS0ul closed 3 weeks ago

StalwartS0ul commented 1 month ago

Check for existing bug reports before submitting.

Expected Behavior

The command dice-mod: [[Famous Quotes#^famous-quotes]]|Quote should return the section from the table "Famous Quotes" under column "Quotes".

The code block is correct. And Dice Roller is able to execute if the command is dice: [[Famous Quotes#^famous-quotes]]|Quote. And returns the "Quote" column as expected.

dice-mod does work as intended if I'm rolling for dice results only. i.e. dice-mod: 1d4

Current behaviour

1 2

The dice-mod acts as if it's only a code block and not a command.

Reproduction

Create any new note and type the command dice-mod: [[table^blockid]]|section. It remains a code block.

Which Operating Systems are you using?

Obsidian Version Check

1.6.7

Plugin Version

11.2.1

Confirmation

Possible solution

No response

geochatz commented 1 month ago

I have the same issue.

Dice Roller v11.3.2 Obsidian v1.6.7 on MacOS

PhyberApex commented 1 month ago

Same here

Dice Roller v11.3.2 Obsidian v1.6.7 on MacOS

PhyberApex commented 1 month ago

No longer broken with

Dice Roller v11.3.4 Obsidian v1.7.4 on MacOS

StalwartS0ul commented 3 weeks ago

Also fixed on Win11, iPadOS 18.1 and Android 15.

Dice Roller 11.3.4 Obsidian 1.7.4