Skip to content

Commit

Permalink
doc: more clear description
Browse files Browse the repository at this point in the history
  • Loading branch information
Sohee Lee authored and seonim-ryu committed Jan 6, 2020
1 parent ad4436d commit fd35dc1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/editor/src/js/wwClipboardManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,7 @@ class WwClipboardManager {

// @TODO Temporary code : paste to empty code block
// Squire remove empty code block when paste.
// This code should remove after Squire update !!!
// https://github.com/neilj/Squire/blob/7cef58bda854c49989c429d90756bff8d6fe758c/source/Range.js#L259
// This code should remove after https://github.com/neilj/Squire/issues/349 would be resolved.
_pasteToEmptyCodeBlock(pasteData) {
const sq = this.wwe.getEditor();
const range = sq.getSelection().cloneRange();
Expand Down

0 comments on commit fd35dc1

Please sign in to comment.