X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/5913c54d19b8f6775633176032161d49f9b2f1aa..6b0f855c770066db9b5b3fa11a9af64c4b8c60bd:/src/redakcja/static/js/button_scripts.js 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)