javalent/initiative-tracker

🐞Pasting the encounter into my notes keeps all characters Even the removed one.

Closed this issue · 0 comments

Check for existing bug reports before submitting.

  • I searched for existing Bug Reports and found no similar reports.

Expected Behavior

I expect that the enabled "active" players would be copied and added to a encounter block in a markdown note instead of all players.

Current behaviour

When I have a list of players, and deactivate one (disable them) because they are not playing this night, and then copy an encounter to my note. That player is still added to the encounter code block.

Reproduction

Presets:
0.1 Add Players to IT via the settings
0.2 Add a Party to IT via the settings
0.3 Make that party the default for encounters
Reproduction:

  1. Open Encounter Builder and select a number of monsters
  2. (Presume that the list of Players has been added due to the Party default)
  3. Disable one or more of the players in the party
  4. Copy the Encounter using the icon
  5. Paste the encounter into a Note (any).
  6. Let Live Preview/Reading Mode show the encounter. You notice all players are there.
  7. In Source view, remove the players not in the encounter
  8. Still after switching to LP/RM you see all players, as if the Party is overriding the changes.

Which Operating Systems are you using?

  • Android
  • iPhone/iPad
  • Linux
  • macOS
  • Windows

Obsidian Version Check

Obsidian version: v1.5.12 Installer version: v1.5.3

Plugin Version

13.0.4

Confirmation

  • I have disabled all other plugins and the issue still persists.

Possible solution

No response