This commit is contained in:
Philipp Kühn
2021-03-09 21:25:39 +01:00
2 changed files with 24 additions and 19 deletions

View File

@@ -143,7 +143,7 @@ const CustomParagraph = Paragraph.extend({
// … and customize the HTML rendering.
renderHTML: attributes => {
return {
'data-color': atttributes.color,
'data-color': attributes.color,
style: `color: ${attributes.color}`,
}
},