Embed Youtube, IG, TW and FB #206
Labels
feature: Editor
WYSIWYG editor
priority: P1
must be fixed first
type: enhancement
New feature or request
type: UX
user experience improvement
Milestone
The task is to enhance TipTap editor with new plugin (extension) to insert a link with preview. A user clicks the embed button within the editor and pastes the URL from the supported providers (Facebook, Twitter, Youtube, Instagram). If URL is unknown, the plugin will render the URL as a normal link in a DIV. The preview HTML will either use provider's JS to display the preview or use some 3rd party library. The link preview must be visible either in WYSIWYG editor when creating / editing the post and in the post view itself. The result must be mobile friendly and responsive.
The implementation shall download all data in the client's browser. The backend must not download from the URL. I prefer that backend stores only the URL / provider type and all fetching / rendering will be done in a client. This is safe from intellectual properties point of view and there is no risk of blocking the server (deny TCPIP list, too much requests).
Some helpful links:
Some libraries with similar purpose. I do not know if they can be probably reused, but they me inspire you:
Providers API:
The text was updated successfully, but these errors were encountered: