You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When parsing HTML using tryParseHTMLToBlocks, attributes such as data-background-color and data-text-color are not preserved. Instead, they are replaced with the value "default". This makes it impossible to retain custom attributes for blocks when working with stored HTML content.
When blocks are added later, the color is applied.
There is a difference in whether the data-background-color attribute is assigned or not.
(The same applies to data-text-color.)
Describe the bug
When parsing HTML using tryParseHTMLToBlocks, attributes such as data-background-color and data-text-color are not preserved. Instead, they are replaced with the value "default". This makes it impossible to retain custom attributes for blocks when working with stored HTML content.
To Reproduce
StackBlitz
Misc
The text was updated successfully, but these errors were encountered: