#59144Ease previewing custom record data in workspace module
Description
Currently only pages, pages_language_overlay and tt_content have the possibility to open a preview in the website frontend.
A hook needs to be used to open the preview for custom records (since possibly the location of the rendering plugin and its page needs to be resolved).
However, to ease that behavior, it would be nice, to introduce a new Page TSconfig setting:
options.workspaces.previewPageId =- field:pid (to use the pid of the accordant record for previewing it)
- 123 (to define a specific page id to be used for previewing the record)
Implementation details can be found here:
https://github.com/ohader/irre_workspaces/blob/master/Classes/Hooks/PreviewHook.php