X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/e73400dc663a8fb573146e173aff72247cdd3a23..a5999e7b582435f9a77b5847f1590ebb8d7ccb36:/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(); }
+
+}) ;
+
+
+
+
+