-
Notifications
You must be signed in to change notification settings - Fork 48
fix: missing exts option and invoke method in the Viewer (close: #16) #17
Conversation
'y.max: 40', | ||
'y.suffix: $', | ||
'```' | ||
].join('\n'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
템플릿 리터럴을 사용할 순 없을까요?
개별 라인을 문자열로 처리하니까 작성하기도 어렵고 가독성도 썩 좋지 않은 것 같아서요.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
머지가 되고 나니 갑자기 드는 생각인데..
그냥 마크다운 파일로 저장하고, raw-loader 로 읽어와도 될 것 같습니다 ㅎ
stories/editor.stories.js
Outdated
'@change="onChange"', | ||
'@stateChange="onStateChange"', | ||
'/>' | ||
].join(' '), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
여기 템플릿도 스트링 리터럴을 사용하면 좋을 것 같아요. 인덴트가 크게 중요하진 않으니까요.
만약 신경쓰인다면 common-tags의 stripIndent
같은 거 사용해도 되구요.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
넵 변경하겠습니다. 감사합니다.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[3/27] 리뷰 완료했습니다. 고생하셨어요 :)
Please check if the PR fulfills these requirements
fix #xxx[,#xxx]
, where "xxx" is the issue number)Description
exts
option of the Viewer. (fix: How can I use exts with Viewer? #16)invoke
method in the Viewer.Thank you for your contribution to TOAST UI product. 🎉 😘 ✨