summernote: Fix script error when last undo.
from https://github.com/summernote/summernote/commit/715fec370
This commit is contained in:
committed by
Christophe Matthieu
parent
43d378f2e8
commit
b35b21402e
@@ -9,7 +9,7 @@ define(['summernote/core/range'], function (range) {
|
||||
|
||||
var makeSnapshot = function () {
|
||||
var rng = range.create();
|
||||
var emptyBookmark = {s: {path: [0], offset: 0}, e: {path: [0], offset: 0}};
|
||||
var emptyBookmark = {s: {path: [], offset: 0}, e: {path: [], offset: 0}};
|
||||
|
||||
return {
|
||||
contents: $editable.html(),
|
||||
|
||||
Reference in New Issue
Block a user