Yoopta-Editor
Yoopta-Editor copied to clipboard
[FEATURE] Add functionality for extending renders with custom rendering
trafficstars
Is this a unique feature?
- [X] I have checked "open" AND "closed" issues and this is not a duplicate
Is your feature request related to a problem/unavailable functionality? Please describe.
Proposed Solution
Should be available through extend:
Headings.HeadingThree.extend({
renders: {
"heading-three": ({ element, attributes, blockId, block }) => {
return <Typograph as="h3" {...attributes}>{children}</Typograph>
}
}
})
Screenshots
No response
Do you want to work on this issue?
Yes
If "yes" to the above, please explain how you would technically implement this (issue will not be assigned if this is skipped)
No response
Related to https://github.com/Darginec05/Yoopta-Editor/issues/122