verbum
verbum copied to clipboard
YouTube doesn't seem to export to html
Using the <InsertDropdown enableYoutube />
the html it generates after including a youtube video doesn't include the video...
here's my onChange code
const handleChange = (
value: string,
editorInstance?: LexicalEditor | undefined,
) => {
console.log(value); // incudes the youtube video in the nodes
editorInstance?.update(() => {
const htmlString = $generateHtmlFromNodes(editorInstance, null);
console.log(htmlString); // doesn't include youtube video
});
};