- Issue created by @jacobbell84
- π©πͺGermany a.dmitriiev
The all_entity_preview module (or just preview as machine name states) is not taking care of node entity type preview. It handles all other content entity types, BUT node, because node module already has a preview functionality. That is why the configuration for node is skipped in the settings form and that is why there are some checks in the frontend editing module.
Nodes have their own settings to enable/disable the preview and frontend editing respects those settings. To be more clear, the "Preview" button on node form is added by node module and if it is present, then frontend editing tries to process further. Actually the same is for other entity types, but for them "All Entity Preview" module adds that "Preview" button to the form.
It seems that function
frontend_editing_enable_preview
accidentally adds node entity type to the preview module settings, because in your case the node entity type is allowed to be used by frontend editing. That is definitely a bug and needs to be fixed. Thank you for noticing.To fix your problem with node preview try to enable it for a content type. You can do this on content type edit page, for example here
/admin/structure/types/manage/page
for content type "Page":"Preview before submitting" should not be "Disabled".
Please let me know if it helps and for the function
frontend_editing_enable_preview
, I will fix it in the frontend_editing module. - π©πͺGermany a.dmitriiev
I have adjusted the function
frontend_editing_enable_preview
(in frontend_editing module) to skip node entity type, as it is not supported by all_entity_preview module.