Skip to content

Commit 153ce37

Browse files
mmitisjhchen
authored andcommitted
Remove unused variable and event propagation from embeds (slab#1665)
1 parent 9bc217f commit 153ce37

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

blots/scroll.js

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import Emitter from '../core/emitter';
33
import Block, { BlockEmbed } from './block';
44
import Break from './break';
55
import Container from './container';
6-
import CodeBlock from '../formats/code';
76

87

98
function isLine(blot) {

core/selection.js

-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ class Selection {
4848
blot.domNode.classList.add('ql-embed-selected');
4949
const range = new Range(blot.offset(scroll), blot.length());
5050
this.setRange(range, Emitter.sources.USER);
51-
e.stopPropagation();
5251
}
5352
});
5453
let mouseCount = 0;

0 commit comments

Comments
 (0)