feat: support audio tag
This commit is contained in:
parent
21a6f9b706
commit
e3d424c1b7
|
|
@ -12,6 +12,8 @@ const scheme = {
|
|||
"toc",
|
||||
"anchor",
|
||||
"mention",
|
||||
"audio",
|
||||
"source",
|
||||
],
|
||||
attributes: {
|
||||
...defaultSchema.attributes,
|
||||
|
|
@ -27,6 +29,8 @@ const scheme = {
|
|||
"autoplay",
|
||||
"playsinline",
|
||||
],
|
||||
audio: ["className", "src", "controls", "loop", "muted", "autoplay"],
|
||||
source: ["src", "type"],
|
||||
iframe: [
|
||||
"className",
|
||||
"src",
|
||||
|
|
|
|||
Loading…
Reference in New Issue