From: Marcin Koziej <marcin.koziej@nowoczesnapolska.org.pl>
Date: Wed, 21 Nov 2012 15:42:27 +0000 (+0100)
Subject: x-editable for <punkt> tags
X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/2884e819e72ed4c645fbdf1a3b6e2b437cd90187?ds=sidebyside

x-editable for <punkt> tags
---

diff --git a/redakcja/static/xsl/wl2html_client.xsl b/redakcja/static/xsl/wl2html_client.xsl
index 440be830..4a5ee484 100644
--- a/redakcja/static/xsl/wl2html_client.xsl
+++ b/redakcja/static/xsl/wl2html_client.xsl
@@ -733,6 +733,15 @@
     </xsl:template>
 
 
+    <xsl:template match="punkt">
+      <span x-editable="true" x-node="punkt" class="punkt">
+            <xsl:call-template name="standard-attributes" />
+            <xsl:apply-templates select="child::node()">
+                <xsl:with-param name="mixed" select="true()" />
+            </xsl:apply-templates>	
+      </span>
+    </xsl:template>
+
     <!--
         ****************
          TEKST WŁAŚCIWY