Show text-rich content inside of an text editor
If a table has a column text-rich and this is included in another text editor as a widget, the column cannot be displayed because we can not initialize a text editor inside of a editor.
@juliushaertl @max-nextcloud Any ideas?
Does the smart picker preview contain editable content or is it only using the editor for rendering the html?
Is the content of the editor inside tables limited in some way or can a table contain a rich text field which then in turn includes smart picker previews?
One thing to check is if we actually load the editor.js entrypoint https://github.com/nextcloud/text/blob/main/src/editor.js
What might be missing is that tables actually dispatches a LoadEditor event for the smart picker previews.
I had to do a similar thing in deck but with some extra safeguard as there was a cyclic event dispatching then ongoing. Reference code https://github.com/nextcloud/deck/blob/57d6436b342abf28a8668995de2e6f512703d8a9/lib/AppInfo/Application.php#L98-L102