Howdoes the TinyMCE embed work?
# help-with-umbraco
m
Does anyone have any documentation on how the embed function in TinyMCE works and the code it generates? All I could find on the TinyMCE site was advanced plugins information. I need to figure out how to take the code genearted by the embed and display it on a page. Simply using Html.Raw(Page.PropertyName) only displays the text and links from the embed tweet but not formated like it shows in the prview. Also wondering for things like tweets how the embeded content works if that tweet is deleted or made privet or something
m
I beleive embed is a custom umb addition to tinymce.. you can see the providers here https://github.com/umbraco/Umbraco-CMS/tree/contrib/src/Umbraco.Core/Media/EmbedProviders just ends up being an iframe/raw html when rendering front end?
If you need a prop editor outside of the rte.. https://github.com/dawoe/OEmbed-Picker-Property-Editor/
m
Thanks, looks like I have a lot to go over.