mirror of
https://github.com/docmost/docmost.git
synced 2025-11-19 09:41:11 +10:00
Switch from happy-dom to cheerio
* Refine code
This commit is contained in:
@ -84,6 +84,14 @@ export const TiptapVideo = Node.create<VideoOptions>({
|
||||
};
|
||||
},
|
||||
|
||||
parseHTML() {
|
||||
return [
|
||||
{
|
||||
tag: 'video',
|
||||
},
|
||||
]
|
||||
},
|
||||
|
||||
renderHTML({ HTMLAttributes }) {
|
||||
return [
|
||||
"video",
|
||||
|
||||
Reference in New Issue
Block a user