Merge pull request 'Add a way to choose whether a sheet is the toggled mode or the always-editing mode.' (#20) from feature/edit-mode-setting into main
Reviewed-on: #20
This commit is contained in:
commit
47e5eab951
5 changed files with 21 additions and 3 deletions
|
|
@ -139,6 +139,9 @@ export class PlayerSheet extends HandlebarsApplicationMixin(ActorSheetV2) {
|
|||
};
|
||||
|
||||
async _prepareContent(ctx) {
|
||||
// Whether or not the prose-mirror is toggled or always-edit
|
||||
ctx.toggled = true;
|
||||
|
||||
const TextEditor = foundry.applications.ux.TextEditor.implementation;
|
||||
ctx.enriched = {
|
||||
system: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue