mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-24 17:36:14 -04:00
resolve issue with line history not being kept
This commit is contained in:
parent
cdce13ca25
commit
e4404d702e
4 changed files with 70 additions and 73 deletions
|
@ -285,7 +285,6 @@ helper.pageDown = async (opts) => {
|
|||
helper.caretLineNumber = () => {
|
||||
if (helper.padInner$.document.getSelection()) {
|
||||
let caretNode = helper.padInner$.document.getSelection().anchorNode;
|
||||
console.log('caretNode', caretNode);
|
||||
const bodyElement = helper.padInner$('body')[0];
|
||||
|
||||
// a text node does not have a classList method
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue