nhn / toast-ui.vue-image-editor

Toast UI Image Editor for Vue
MIT License
187 stars 41 forks source link

When textstyle fill is set to the actual one, the whole style gets reset #45

Open yennor opened 3 years ago

yennor commented 3 years ago

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.

swtalk commented 3 years ago

Dooray! 메일 발송 실패 안내

메일 발송 실패 안내

@.***) 님께 보낸 메일이 전송되지 못하였습니다.

      실패 사유를 확인해보세요.

        * 받는 사람 : 

@.***)

        * 발송 시간 : 

2021-06-15T23:57:21

        * 메일 제목 : 

[nhn/toast-ui.vue-image-editor] When textstyle fill is set to the actual one, the whole style gets reset (#45)

            * 실패 사유 : 

받는 사람이 회원님의 메일을 수신차단 하였습니다.

      이 메일은 발신전용으로 회신되지 않습니다.
      더 궁금하신 사항은
      ***@***.***
      으로 문의해 주시기 바랍니다.

    © Dooray!.