Commit 7fc4e957 authored by George Popoff's avatar George Popoff

get actual text data from text node

parent 38389337
...@@ -281,7 +281,7 @@ ETYPOS.prototype = { ...@@ -281,7 +281,7 @@ ETYPOS.prototype = {
}, },
getSelectionContext: function() { getSelectionContext: function() {
return (window.getSelection()) ? window.getSelection().anchorNode.toString() : this.selection; return (window.getSelection()) ? window.getSelection().anchorNode.data : this.selection;
}, },
/*Скрытие/показ окна*/ /*Скрытие/показ окна*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment