[#6440] Add ProseMirror inserts for the systems enrichers & HTML blocks#7115
Open
Sayshal wants to merge 2 commits into
Open
[#6440] Add ProseMirror inserts for the systems enrichers & HTML blocks#7115Sayshal wants to merge 2 commits into
Sayshal wants to merge 2 commits into
Conversation
- 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
5efa38d :
module/inserts.mjsregisteringCONFIG.TextEditor.insertsEDITOR.DND5E.Insertslocalization keys73b83e5 :
CONFIG.DND5E: checks, saves, skills, damage, awards, attack, item, lookup, and referencesWhile 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