YouTube doesn't seem to export to html
Opened this issue · 0 comments
solomon23 commented
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
});
};