X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/5913c54d19b8f6775633176032161d49f9b2f1aa..5b1643ef60b2e2c6e045ecbf0042237bf446d721:/src/redakcja/static/js/button_scripts.js?ds=inline diff --git a/src/redakcja/static/js/button_scripts.js b/src/redakcja/static/js/button_scripts.js index 37f37a7d..60a80dda 100644 --- a/src/redakcja/static/js/button_scripts.js +++ b/src/redakcja/static/js/button_scripts.js @@ -331,7 +331,7 @@ ScriptletCenter.prototype.callInteractive = function(opts) { ScriptletCenter.prototype.XMLEditorSelectedText = function(editor) { - return editor.selection(); + return editor.getSelection(); }; ScriptletCenter.prototype.XMLEditorReplaceSelectedText = function(editor, replacement)