X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/434a8ca0e146d0ad9514978fffec916c90fb7542..df341bdd09208d2b0f84060454cc0000df19deba:/src/redakcja/static/js/button_scripts.js?ds=sidebyside 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)