This repository was archived by the owner on Jul 28, 2021. It is now read-only.

Description
Version
3.14.3
Current Behavior
When you set the text style of a textobject to the same fill color it already has, the color and other styles will be reset.
For whatever reason that doesn't happen when you set the text size to the same again.
Following line in tui-image-editor.js is responsible for it:
if (activeObj[key] === val && key !== 'fontSize') {
styleObj[key] = resetStyles[key] || '';
}
Expected Behavior
When you set the text fill color to the same as already is set nothing should change at all.