Yoopta-Editor
Yoopta-Editor copied to clipboard
[FEATURE] Support inline color while export HTML
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.
When I use html.serialize to get HTML, the styles missing.
After checking source code, I found that this feature have NOT been implemented.
Proposed Solution
I've finished a simple solution in my fork branch: feat/support-inline-color
please check the diff here https://github.com/j7-dev/Yoopta-Editor/commit/2906860a6b8f1483e29ec6c3adacbd0b4d3e50a7
Screenshots
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)
I've made a small solution.
maybe someone can help me go through it
I might take there step
- move utils function (
highlightToInlineCssAttribute,camelToKebab) to proper directory, any suggestion? - Umm...code review and test!?