tui.editor icon indicating copy to clipboard operation
tui.editor copied to clipboard

Does it support inserting videos in a rich text editor

Open carrey493 opened this issue 2 years ago • 2 comments

Does it support inserting videos in a rich text editor

carrey493 avatar Jun 29 '22 09:06 carrey493

@AtroxEzerel

please try the following code.

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

jwlee1108 avatar Jun 30 '22 13:06 jwlee1108

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 avatar Jul 24 '22 10:07 blessdarah

@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

leochiu-a avatar Oct 21 '22 09:10 leochiu-a