Skip to content
Permalink
Browse files

doc: more clear description

  • Loading branch information...
sohee-lee7 committed Feb 21, 2019
1 parent 8432a90 commit a2cf8fee32afb5f0422067072e4d66512a854dfe
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/js/wwClipboardManager.js
@@ -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();

0 comments on commit a2cf8fe

Please sign in to comment.
You can’t perform that action at this time.