fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [17046] ckeditor: allow classes in elements


From: sigurdne
Subject: [Fmsystem-commits] [17046] ckeditor: allow classes in elements
Date: Sun, 10 Sep 2017 05:19:10 -0400 (EDT)

Revision: 17046
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=17046
Author:   sigurdne
Date:     2017-09-10 05:19:10 -0400 (Sun, 10 Sep 2017)
Log Message:
-----------
ckeditor: allow classes in elements

Modified Paths:
--------------
    trunk/phpgwapi/inc/class.jquery.inc.php

Modified: trunk/phpgwapi/inc/class.jquery.inc.php
===================================================================
--- trunk/phpgwapi/inc/class.jquery.inc.php     2017-09-09 19:24:20 UTC (rev 
17045)
+++ trunk/phpgwapi/inc/class.jquery.inc.php     2017-09-10 09:19:10 UTC (rev 
17046)
@@ -526,7 +526,15 @@
                        $( 'textarea#{$target}' ).ckeditor(
                                {
                                        uiColor: '#9AB8F3',
-                                       language: '{$userlang}'
+                                       language: '{$userlang}',
+                                       extraAllowedContent: [
+                                               'div(*){*}[*]',
+                                               'h1(*){*}[*]',
+                                               'h2(*){*}[*]',
+                                               'h3(*){*}[*]',
+                                               'h4(*){*}[*]',
+                                               'h5(*){*}[*]'
+                                               ].join("; ")
                                }
                        );
                } );




reply via email to

[Prev in Thread] Current Thread [Next in Thread]