foundryvtt / dnd5e

An implementation of the 5th Edition game system for Foundry Virtual Tabletop (http://foundryvtt.com).
MIT License
339 stars 225 forks source link

Secret block "Reveal" button is non-functional in MultiEditor #2678

Open MaxPat931 opened 11 months ago

MaxPat931 commented 11 months ago

Clicking Reveal silently fails in Item Description with multieditor

RevealYourself.webm

Also, should the Reveal button display when an Item is expanded as well as in the Item Sheet?

Some tables do give Observer access to all their party's actors, so there may be an instance where a player wants to hide information about an Item or Feature from the other players, but still be able to easily reveal it later on

kgar commented 11 months ago

I have encountered this as well.

Here is where secrets.js is unable to find [data-edit] and cannot trigger the callback to toggle Reveal/Hide:

image

image

Here is a sample of what the DOM looks like where the secrets code is checking:

image