feat: parseHTML for attributes should return the value instead of an object now, fix #1863
This commit is contained in:
@@ -58,9 +58,7 @@ export const CodeBlock = Node.create<CodeBlockOptions>({
|
||||
return null
|
||||
}
|
||||
|
||||
return {
|
||||
language,
|
||||
}
|
||||
return language
|
||||
},
|
||||
renderHTML: attributes => {
|
||||
if (!attributes.language) {
|
||||
|
||||
Reference in New Issue
Block a user