Skip to content

Commit

Permalink
Enable prosemirror in item sheet
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosFdez committed May 29, 2024
1 parent 6018278 commit 6e84ea7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions static/templates/items/sheet.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,12 @@
<section class="tab description" data-tab="description" data-tooltip-class="">
{{#if user.isGM}}
<section class="editor-container gm-notes{{#if enrichedContent.gmNotes}} has-content{{/if}}">
{{editor enrichedContent.gmNotes target="system.description.gm" button=true owner=owner editable=editable}}
{{editor enrichedContent.gmNotes target="system.description.gm" button=true owner=owner editable=editable engine="prosemirror"}}
</section>
{{/if}}
<section class="main editor-container">
{{#if (not isVariant)}}
{{editor enrichedContent.description target="system.description.value" button=true owner=owner editable=editable}}
{{editor enrichedContent.description target="system.description.value" button=true owner=owner editable=editable engine="prosemirror"}}
{{else}}
<div class="editor">
<div class="editor-content">{{{enrichedContent.description}}}</div>
Expand Down

0 comments on commit 6e84ea7

Please sign in to comment.