Fix text element opening tinymce [SCI-6938] (#4243)

* Fix edit step button [SCI-6938]

* Fix text element opening tinymce [SCI-6938]
This commit is contained in:
ajugo 2022-07-13 21:09:30 +02:00 committed by GitHub
parent 914516ac4c
commit 5d2d002a04
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,14 +17,13 @@
:value="element.attributes.orderable.text"
:value_html="element.attributes.orderable.text_view"
:placeholder="element.attributes.orderable.placeholder"
:inEditMode="inEditMode"
:inEditMode="inEditMode || isNew"
:updateUrl="element.attributes.orderable.urls.update_url"
:objectType="'StepText'"
:objectId="element.attributes.orderable.id"
:fieldName="'step_text[text]'"
:lastUpdated="element.attributes.orderable.updated_at"
:characterLimit="100000"
:inEditMode="isNew"
@update="update"
@editingDisabled="disableEditMode"
@editingEnabled="enableEditMode"