nhn / toast-ui.react-image-editor

TOAST UI ImageEditor wrapper for React.js
MIT License
117 stars 51 forks source link

addShape method not available (old version of tui-image-editor) #32

Open crisilva95 opened 3 years ago

crisilva95 commented 3 years ago

Version

latest version

Development Environment

React and Electron app

Current Behavior

The addShape method is not available because toast-ui.react-image-editor is using an old version of tui-image-editor (3.8.0). v3.10 includes the addShape method.

The following code does not work:

const instance = editorRef.current.getInstance()
instance.addShape('rect', {
            fill: '#ff0000',
            stroke: '#ff0000',
            strokeWidth: 0,
            top: 200,
            left: 300,
            rx: 80,
            ry: 80,
            isRegular: true
        })

Expected Behavior

Be able to call addShape in toast-ui.react-image-editor successfully.

swtalk commented 3 years ago

Dooray! 메일 발송 실패 안내

메일 발송 실패 안내

박시우(viewrain@nhn.com) 님께 보낸 메일이 전송되지 못하였습니다.

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

        * 받는 사람 : 

박시우(viewrain@nhn.com)

        * 발송 시간 : 

2020-08-20T02:02:05

        * 메일 제목 : 

[nhn/toast-ui.react-image-editor] addShape method not available (old version of tui-image-editor) (#32)

            * 실패 사유 : 

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

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

    © Dooray!.