Is it possible to use the TipTap editor in the frontend? If so how?
My current Forum package utilises the umbraco tinymce javascript files, so obviously will no longer work in 16, I could include tinymce in the package, but would rather utilise the new editor
Ok, I’m having another stap at this . Does anyone know how or if I can reuse the backoffice editor setup in the frontend, or do I need to import the tiptap stuff manually into my frontend and set it up myself?
@huwred, I don’t want to say that it’s impossible, as I think it could be achievable, but it would be a massive undertaking. Umbraco’s Tiptap RTE implementation is specifically designed for the new backoffice, e.g. making use of the Context API and extension-registry to handle all the RTE features (toolbar/statusbar buttons, etc).
To reuse this on a public facing website, you’d effectively need to recreate the architecture of the backoffice, as in the Context API and extension-registry mechanisms. Which would feel like a large project in itself. (This isn’t a limitation of the Tiptap RTE implementation, but applies to attempting to reuse any backoffice property-editor on the frontend.)
Personally, I’d feel there’d be less friction by implementing it as a standalone feature. In terms of Tiptap features, definitely make use of Umbraco’s source-code for reference/samples.
I’ll have a play at just importing a simple tiptap template and see what I think. Because my forum currently uses TinyMCE I’m having to do some jiggery pokery in the code anyway as the posts content changes if you edit it in the backoffice (which is using TipTap).