Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Backspace does not work at text editing #66

Merged
merged 1 commit into from
Oct 4, 2018

Conversation

jinwoo-kim-nhn
Copy link
Contributor

  • 텍스트 편집시 backspace가 동작하지 않는 부분을 해결

    • object 삭제할때의 이벤트 처리와 겹치기 때문에 object가 선택되지 않았다면 preventdefault가 실행되지 않도록 변경
  • 잘못된 jsdoc 주석 변경

* @returns {string} A DOMString containing the requested data URI.
*/
toDataURL(type) {
return this._canvas && this._canvas.toDataURL(type);
toDataURL(options) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

혹시 이 메서드 퍼블릭 API인가요?
만약 그렇다면.. 파라미터 타입이 변경되면 버저닝 이슈가 있겠네요 ;ㅅ;

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

http:https://fabricjs.com/docs/fabric.Canvas.html#toDataURL
처음 개발할 때 패브릭 버전 확인해보면 좋을 것 같습니다~ 일단 픽스 버전으로 올리면 될듯요

@seonim-ryu
Copy link
Member

[10/4] 리뷰 완료하였습니다.

@jinwoo-kim-nhn jinwoo-kim-nhn merged commit dcfb7ee into master Oct 4, 2018
@junghwan-park junghwan-park deleted the fix/textedit-backspace-bug branch January 30, 2019 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants