Get the base Actor sheet working w/ collaboration

This commit is contained in:
Oliver-Akins 2024-08-28 22:36:12 -06:00
parent 60b0072bcc
commit ce9c2de751
18 changed files with 320 additions and 22 deletions

View file

@ -1,3 +1,29 @@
<form autocomplete="off" class="actor--pc-v2">
Hello Foundry
</form>
<form autocomplete="off">
<div class="header-row">
<img
class="avatar"
src="{{actor.img}}"
data-edit="img"
title="{{actor.name}}"
/>
<input
type="text"
name="name"
value="{{actor.name}}"
class="actor-name"
>
</div>
{{#if editable}}
<prose-mirror
class="actor-text"
name="system.content"
value="{{system.content}}"
collaborate="true"
data-document-uuid="{{actor.uuid}}"
>
{{{enriched.system.content}}}
</prose-mirror>
{{else}}
{{{enriched.system.content}}}
{{/if}}
</form>