- Issue created by @RayanD
- 🇩🇪Germany a.dmitriiev
Status "Needs work" is set for the issues that have some patch or MR that needs work. If there is nothing yet done, it should be just "Active"
- 🇩🇪Germany a.dmitriiev
As for the problem, are you trying to edit the paragraph or the content type and you don't see the real time updates?
If possible, could you please check the response of the request? The uri should be like `/frontend-editing/form/paragraph/1010?view_mode_id=default&ajax_form=1&_wrapper_format=drupal_ajax`, the method is POST.
In the response there should be an object similar to this:
Object { command: "feEntityPreview", selector: '[data-fe-preview-content="90778e28-1e72-44d1-8807-c5a818288237"]', viewModeId: "default", … }
This object contains ajax command that triggers the preview for the DOM element with selector
data-preview="90778e28-1e72-44d1-8807-c5a818288237"
. Do you see this selector on the page? This data attribute is added to the entity wrapper (in this example is to paragraph wrapper), see here https://git.drupalcode.org/project/frontend_editing/-/blob/1.x/frontend_... . This also needs thatattributes
be printed in your entity's template. For example:<div{{ attributes }}> {{ content }} </div>