mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-04-22 07:23:37 +02:00
Also disable prosemirror editors
This commit is contained in:
parent
bff18cee27
commit
a993f3ae2d
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue