Support for CKEditor in Foundry

git-svn-id: https://svn.libreccm.org/ccm/trunk@4789 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2017-06-19 14:45:50 +00:00
parent b851db5f68
commit 9dc6d53ae6
1 changed files with 5 additions and 4 deletions

View File

@ -184,8 +184,8 @@
</xsl:template>
<!-- DE Benutze FCKEditor -->
<!-- EN Use FCKEditor -->
<!-- DE Benutze CKEditor -->
<!-- EN Use CKEditor -->
<xsl:template match="bebop:ckeditor">
<xsl:variable name="first-match">
@ -199,14 +199,15 @@
</script>
<script type="text/javascript">
<xsl:value-of select="concat('ckeditorConfig = \'', //bebop:ckeditor/bebop:config/@path ,'\'')" />
<!-- <xsl:value-of select="concat('ckeditorConfig = ''', //bebop:ckeditor/bebop:config/@path ,'''')" />-->
ckeditorConfig = '/assets/ckeditor/ccm-ckeditor-config.js';
window.onload = function() {
CKEditor.replaceAll(
'ckeditor',
customConfig: ckeditorConfig);
};
</script>
</xsl:if>
<!-- EN End of CKeditor setup -->
<xsl:call-template name="process-label">