Begin working on an attempt to make the required setting, but be blocked by Foundry for listening to open/close events on the prose-mirror editor
This commit is contained in:
parent
703dc83681
commit
f8c21ac8d8
6 changed files with 82 additions and 1 deletions
12
module/settings/user.mjs
Normal file
12
module/settings/user.mjs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import { __ID__ } from "../consts.mjs";
|
||||
|
||||
export function registerUserSettings() {
|
||||
game.settings.register(__ID__, `openSheetInEdit`, {
|
||||
name: `taf.settings.openSheetInEdit.name`,
|
||||
hint: `taf.settings.openSheetInEdit.hint`,
|
||||
config: true,
|
||||
type: Boolean,
|
||||
default: false,
|
||||
scope: `user`,
|
||||
});
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue