nhn / tui.editor

🍞📝 Markdown WYSIWYG Editor. GFM Standard + Chart & UML Extensible.

Home Page:http://ui.toast.com/tui-editor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does it support inserting videos in a rich text editor

carrey493 opened this issue · comments

Does it support inserting videos in a rich text editor

@AtroxEzerel

please try the following code.

<a href="{video link}" target="_blank"><img width="558" alt="sample" src="{thumbnail Image Link}"></a>

Does that mean there is no possibility of embedding a video?
I have used it on a website and the client cannot add any video content. Is there another possibility to handle that?

@blessdarah You can use customHTMLRenderer props to render<video> tag in WYSIWYG.

https://github.com/nhn/tui.editor/blob/master/docs/en/custom-block.md#wysiwyg-1