github kgar/foundry-vtt-tidy-5e-sheets v0.2.6

latest releases: v13.5.0, v13.4.3, v13.4.2...
2 years ago

What's Changed

  • [#226] "Inject Anywhere" API functions by @kgar in #228
  • [#80] Resolved overlapping enrichers on separate lines in editors by @kgar in #231
  • [#186] Extended sheets for Quick Insert compatibility, added Item Table Footer command injection API by @kgar in #219

Full Changelog: v0.2.5...v0.2.6

Editor Line Height Adjusted for Enrichers

  • The line height for editor paragraphs has been increased just enough to accommodate the height of roll buttons, data links, enrichers, etc. without them overlapping.

image

For the Devs: "Inject Anywhere" API

Because of the web tech that the rewritten Tidy Sheets use, there are a number of API facilities for adding in content and allowing the sheets to determine things like HTML structure, placement of the content, etc. However, if you are interested in adding content anywhere on the sheet and have it respond to actor / item / etc. changes, the "Inject Anywhere" API is here. To get started, check out the API functions starting with actor content registration.

For the Devs: Sheet Parts API

To allow for consistently targeting parts of a sheet on any of Tidy's upcoming layouts, the "Sheet Parts" API is here to help. At present, there are only a handful of sheet parts, and in subsequent releases, more sheet parts are intended to be added.

To get started. check out the constants and the getSheetPart function.

Note: Like with hooks, if you need a sheet part that is not present, submit a github issue.

For the Devs: Item Section Footer Command API

For modules like Quick Insert, there's a need to inject a button in the item section footer. The API for adding your own buttons to the item footer is now here.

Don't miss a new foundry-vtt-tidy-5e-sheets release

NewReleases is sending notifications on new releases.