Switch from happy-dom to cheerio

* Refine code
This commit is contained in:
Philipinho
2025-05-29 17:49:34 -07:00
parent 8143452a21
commit 95f24d9ba5
7 changed files with 538 additions and 803 deletions

View File

@ -84,6 +84,14 @@ export const TiptapVideo = Node.create<VideoOptions>({
};
},
parseHTML() {
return [
{
tag: 'video',
},
]
},
renderHTML({ HTMLAttributes }) {
return [
"video",