Skip to content

🐞 Editing Appearance or statblock un-bolds most properties #477

@annaelaine

Description

@annaelaine

Check for existing bug reports before submitting.

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

Expected Behavior

When I change the font size in the appearance of a stat-block template, the other properties of it should not be changed.

Current behaviour

Simply editing the Content Font Size in the appearance tab for the Basic 5e Layout took the sheet from:

Image

to this:

Image

A subtle difference when it's not filled in, but much bigger when it is.

Reproduction

  1. Have Fantasy Stat blocks installed.
  2. (Optional) Also have Admonition, Dialogue, Dice Roller, and Initiative Tracker installed but disabled.
  3. Create page with included code as the only text, titled "Creature Statblock".
  4. Go to Fantasy stat blocks settings.
  5. click to edit the Basic 5e Layout
  6. Go to the Appearance Tab
  7. Change Content font size from 14px to 16px
  8. Save with checkmark.
  9. Close Settings.
  10. Cry.
  11. Try to edit it back to 14px, see that the un-bolded text persists.
  12. Realize the only thing that resets the boldness is reverting the template.
  13. Go to make bug report at midnight 30 because sleep is for the weak.

```statblock
layout: Basic 5e Layout
image: "[[icons/default.jpg]]"
name: 
size: 
type: 
alignment: 
ac: 10
hp: 10
hit_dice: " (1d6)"
speed: "30 ft."
stats: [10, 10, 10, 10, 10, 10]
saves:
  - ability: 10
skillsaves:
  - skill: 10
damage_vulnerabilities: "x"
damage_resistances: "x"
damage_immunities: "x"
condition_immunities: "x"
senses: "x"
languages: "x"
cr: 10
traits:
  - name: ""
    desc: ""
spells:
  - ""
  - Cantrips (at will): 
  - 1st level (4 slots): 
  - 2nd level (3 slots): 
  - 3rd level (3 slots): 
  - 4th level (3 slots): 
  - 5th level (3 slots): 
  - 6th level (1 slot): 
  - 7th level (1 slot): 
  - 8th level (1 slot): 
  - 9th level (1 slot): 
actions:
  - name: ""
    desc: ""
bonus_actions:
  - name: ""
    desc: ""
legendary_actions:
  - name: ""
    desc: ""
mythic_actions:
  - name: ""
    desc: ""
reactions:
  - name: ""
    desc: ""
lair_actions:
  - name: ""
    desc: ""
regional_effects:
  - name: ""
    desc: ""
```

Which Operating Systems are you using?

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

Obsidian Version Check

v1.7.7

Plugin Version

v4.8.1

Confirmation

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

Possible solution

I have no idea. I was also moving Damage Vulnerabilities to just under Skills in the layout, but that didn't seem to have an affect on whether or not the but triggered.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions