X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/f31bb368a2cad9a61e4fc652fa4b40c4114a128c..5620e337719f6e64efaf77ec702c7d6848cc7255:/apps/explorer/fixtures/przyciski.xml?ds=sidebyside
diff --git a/apps/explorer/fixtures/przyciski.xml b/apps/explorer/fixtures/przyciski.xml
index 2065b151..afa1deb2 100755
--- a/apps/explorer/fixtures/przyciski.xml
+++ b/apps/explorer/fixtures/przyciski.xml
@@ -192,6 +192,19 @@
+
ZamieÅ cudzysÅowy
zamien-cudzyslowy
@@ -1177,4 +1190,39 @@ if (!text) {
panel.fireEvent('contentChanged');
+
+ var cm = panel.texteditor;
+
+cm.focus();
+
+var text = cm.selection();
+
+if(!text) return;
+
+
+
+cm.replaceSelection('<include-tag-placeholder />');
+
+var fulltext = cm.getCode();
+
+
+
+$('#split-dialog').jqmShow({
+
+ selection: text, fulltext: fulltext,
+
+ success: function(uri) {
+
+ editor.refreshPanels();
+
+ },
+
+ failure: function() { cm.undo(); }
+
+}) ;
+
+
+
+
+