You will find only what you bring in.
[redakcja.git] / src / redakcja / static / js / button_scripts.js
index 37f37a7..60a80dd 100644 (file)
@@ -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)