Skip to content

[#6440] Add ProseMirror inserts for the systems enrichers & HTML blocks#7115

Open
Sayshal wants to merge 2 commits into
foundryvtt:6.0.xfrom
Sayshal:fix/6440
Open

[#6440] Add ProseMirror inserts for the systems enrichers & HTML blocks#7115
Sayshal wants to merge 2 commits into
foundryvtt:6.0.xfrom
Sayshal:fix/6440

Conversation

@Sayshal

@Sayshal Sayshal commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

5efa38d :

  • Add module/inserts.mjs registering CONFIG.TextEditor.inserts
  • Group notable, narrative, quest, advice, pull quote, and habitat & treasure under a "D&D Blocks" menu
  • Add EDITOR.DND5E.Inserts localization keys
msedge_wgr4Oh7TvK

73b83e5 :

  • Add a "D&D Enrichers" group built dynamically from CONFIG.DND5E: checks, saves, skills, damage, awards, attack, item, lookup, and references
  • Resolve reference rule titles from their compendium pages; alphabetize submenus, keeping abilities in stat order
msedge_3UwoVjlJ6V

While the submenus do start to get a little silly, I think this is a huge win to the userbase to be able to use more of the system without relying on a wiki they may or may not know exist.

Closes #6440

Sayshal added 2 commits June 11, 2026 22:53
- Add module/inserts.mjs registering CONFIG.TextEditor.inserts
- Group notable, narrative, quest, advice, pull quote, and habitat & treasure under a "D&D Blocks" menu
- Wire registration into init and expose on the dnd5e API
- Add EDITOR.DND5E.Inserts localization keys
- Add a "D&D Enrichers" group built dynamically from CONFIG.DND5E: checks, saves, skills, damage, awards, attack, item, lookup, and references
- Resolve reference rule titles from their compendium pages; alphabetize submenus, keeping abilities in stat order
- Register on the ready hook; scroll and title-case the editor dropdown entries
- Add EDITOR.DND5E.Inserts enricher localization keys
@Fyorl Fyorl added system: journals compatibility Relating to compatibility issues with new core versions strategic Requires sign-off from a core Foundry VTT developer before merge. priority: high labels Jun 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

compatibility Relating to compatibility issues with new core versions priority: high strategic Requires sign-off from a core Foundry VTT developer before merge. system: journals

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add additional ProseMirror menu options to support system's special HTML blocks

2 participants