You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to add custom button to Trix editor that would allow a user to enter url of video (YouTube, Vimeo) and then new element will be inserted at current cursor position. The video ID would be encrypted.
I managed to add a button but I have troubles to use .insertString()
I want to add custom button to Trix editor that would allow a user to enter url of video (YouTube, Vimeo) and then new element will be inserted at current cursor position. The video ID would be encrypted.
I managed to add a button but I have troubles to use .insertString()
https://jsfiddle.net/radek/aL8ochdm/19/
If you also could guide me how to open a modal upon menu button click so user can enter the url it would be great.
The text was updated successfully, but these errors were encountered: