fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
save caret position when ending a list
[fnpeditor.git]
/
src
/
editor
/
modules
/
documentCanvas
/
canvas
/
canvas.test.js
diff --git
a/src/editor/modules/documentCanvas/canvas/canvas.test.js
b/src/editor/modules/documentCanvas/canvas/canvas.test.js
index
be4a8b9
..
028c767
100644
(file)
--- a/
src/editor/modules/documentCanvas/canvas/canvas.test.js
+++ b/
src/editor/modules/documentCanvas/canvas/canvas.test.js
@@
-489,7
+489,7
@@
describe('Cursor', function() {
});
});
});
});
- it('returns boundries of selection when browser selection not collapsed', function() {
+ it('returns bound
a
ries of selection when browser selection not collapsed', function() {
var c = getCanvasFromXML('<section>Alice <span>has</span> a <span>big</span> cat</section>'),
dom = c.doc().dom,
text = {
var c = getCanvasFromXML('<section>Alice <span>has</span> a <span>big</span> cat</section>'),
dom = c.doc().dom,
text = {
@@
-521,7
+521,7
@@
describe('Cursor', function() {
});
});
});
});
- it('recognizes when browser selection boundries lies in sibling DocumentTextElements', function() {
+ it('recognizes when browser selection bound
a
ries lies in sibling DocumentTextElements', function() {
var c = getCanvasFromXML('<section>Alice <span>has</span> a <span>big</span> cat</section>'),
dom = c.doc().dom,
text = {
var c = getCanvasFromXML('<section>Alice <span>has</span> a <span>big</span> cat</section>'),
dom = c.doc().dom,
text = {