Yoopta-Editor
Yoopta-Editor copied to clipboard
[FEATURE] Add extend options for marks
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.
Yes
Proposed Solution
Add .extend function to every mark
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
Should marks also be extendible like plugins, to have a certain API to follow and you can add own marks?
@maZahaca the main point is add extend functionality for custom rendering of marks and adding some default props to each mark.
Ex: some devs want to extend props for highlight to add custom colors for text and backgroud.
Ok, so adding other marks sounds like another task. But can we define certain api protocol for it, as we have for plugins?