Yoopta-Editor icon indicating copy to clipboard operation
Yoopta-Editor copied to clipboard

[FEATURE] Add extend options for marks

Open Darginec05 opened this issue 1 year ago • 3 comments

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

Darginec05 avatar May 08 '24 19:05 Darginec05

Should marks also be extendible like plugins, to have a certain API to follow and you can add own marks?

maZahaca avatar May 16 '24 10:05 maZahaca

@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.

Darginec05 avatar May 16 '24 13:05 Darginec05

Ok, so adding other marks sounds like another task. But can we define certain api protocol for it, as we have for plugins?

maZahaca avatar May 16 '24 13:05 maZahaca