mirror of
https://github.com/doocs/md.git
synced 2024-11-28 13:36:32 +08:00
fix: remove select ranges
This commit is contained in:
parent
bbf5510bc8
commit
90fe9d45b0
@ -187,8 +187,7 @@ export default {
|
||||
range.setEndAfter(clipboardDiv.lastChild);
|
||||
window.getSelection().addRange(range);
|
||||
document.execCommand('copy');
|
||||
range.setStartBefore(clipboardDiv.firstChild);
|
||||
range.setEndAfter(clipboardDiv.firstChild);
|
||||
window.getSelection().removeAllRanges()
|
||||
fixCodeWhiteSpace('normal');
|
||||
// 输出提示
|
||||
this.$notify({
|
||||
|
Loading…
Reference in New Issue
Block a user