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:
Oliver 2025-11-22 00:08:19 -07:00
parent 703dc83681
commit f8c21ac8d8
6 changed files with 82 additions and 1 deletions

12
module/settings/user.mjs Normal file
View 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`,
});
};