fnp
/
fnpeditor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
8017112
)
revert stupid change
author
Jan Szejko
<janek37@gmail.com>
Wed, 1 Mar 2017 12:52:05 +0000
(13:52 +0100)
committer
Jan Szejko
<janek37@gmail.com>
Tue, 27 Mar 2018 15:03:30 +0000
(17:03 +0200)
(cherry picked from commit
a5b0d59
)
src/editor/plugins/core/core.js
patch
|
blob
|
history
diff --git
a/src/editor/plugins/core/core.js
b/src/editor/plugins/core/core.js
index
eda3c72
..
c2c5ffa
100644
(file)
--- a/
src/editor/plugins/core/core.js
+++ b/
src/editor/plugins/core/core.js
@@
-192,7
+192,7
@@
plugin.documentExtension.documentNode.transformations = {
node: ret,
offset: ret.getText().length - len
};
node: ret,
offset: ret.getText().length - len
};
- } else {
+ } else
if(!toret)
{
toret = {
node: ret.getFirstTextNode(),
offset: 0
toret = {
node: ret.getFirstTextNode(),
offset: 0