Also disable prosemirror editors

This commit is contained in:
Carlos Fernandez 2026-04-17 20:55:23 -04:00
parent bff18cee27
commit a993f3ae2d

View file

@ -173,7 +173,7 @@ export default class CharacterSheet extends DHBaseActorSheet {
// Overriden to only disable text inputs by default. // Overriden to only disable text inputs by default.
// Everything else is done by checking @root.editable in the sheet // Everything else is done by checking @root.editable in the sheet
const form = this.form; const form = this.form;
for (const input of form.querySelectorAll("input:not([type=search])")) { for (const input of form.querySelectorAll("input:not([type=search]), .editor.prosemirror")) {
input.disabled = disabled; input.disabled = disabled;
} }
} }