- // describe('deleting with a caret', function() {
- // it('keeps an empty paragraph after deleteing last letter with backspace', function() {
- // var c = getCanvasFromXML('<section><div class="p">A</div></section>'),
- // k = new Keyboard(c);
-
- // k.withCaret('A|').press(K.BACKSPACE);
- // var rootContents = c.wlxmlDocument.root.contents();
-
- // expect(rootContents.length).to.equal(1);
- // expect(rootContents[0].contents()[0].getText()).to.equal('');
- // });
- // // it('removes a paragraph on yet another delete' + key, function() {
-
- // // });
- // });
-
-
- // + empty when bck/ins + l===1