feat: complete migration from {{editor}} to <prose-mirror> elements
This commit is contained in:
parent
372a2f718c
commit
3efbac9e84
3 changed files with 36 additions and 6 deletions
|
@ -32,8 +32,18 @@ SPDX-License-Identifier: MIT
|
|||
|
||||
<div class="form-group stacked">
|
||||
<label>{{ localize "EFFECT.Description" }}</label>
|
||||
{{editor descriptionHTML target="description" button=false editable=editable engine="prosemirror"
|
||||
collaborate=false}}
|
||||
{{#if editable}}
|
||||
<prose-mirror
|
||||
name="description"
|
||||
button="false"
|
||||
editable="{{editable}}"
|
||||
toggled="false"
|
||||
value="{{data.description}}">
|
||||
{{{descriptionHTML}}}
|
||||
</prose-mirror>
|
||||
{{else}}
|
||||
{{{descriptionHTML}}}
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue