JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-4.2_full
[ckeditor.git] / samples / xhtmlstyle.html
index d650d34..cde2878 100644 (file)
@@ -1,7 +1,7 @@
 <!DOCTYPE html>\r
 <!--\r
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.\r
-For licensing, see LICENSE.html or http://ckeditor.com/license\r
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.\r
+For licensing, see LICENSE.md or http://ckeditor.com/license\r
 -->\r
 <html>\r
 <head>\r
@@ -62,6 +62,18 @@ CKEDITOR.replace( '<em>textarea_id</em>', {
                                        contentsCss: 'assets/outputxhtml/outputxhtml.css',\r
 \r
                                        /*\r
+                                        * Special allowed content rules for spans used by\r
+                                        * font face, size, and color buttons.\r
+                                        *\r
+                                        * Note: all rules have been written separately so\r
+                                        * it was possible to specify required classes.\r
+                                        */\r
+                                       extraAllowedContent: 'span(!FontColor1);span(!FontColor2);span(!FontColor3);' +\r
+                                               'span(!FontColor1BG);span(!FontColor2BG);span(!FontColor3BG);' +\r
+                                               'span(!FontComic);span(!FontCourier);span(!FontTimes);' +\r
+                                               'span(!FontSmaller);span(!FontLarger);span(!FontSmall);span(!FontBig);span(!FontDouble)',\r
+\r
+                                       /*\r
                                         * Core styles.\r
                                         */\r
                                        coreStyles_bold: {\r
@@ -211,7 +223,7 @@ CKEDITOR.replace( '<em>textarea_id</em>', {
                        CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>\r
                </p>\r
                <p id="copy">\r
-                       Copyright &copy; 2003-2012, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico\r
+                       Copyright &copy; 2003-2013, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico\r
                        Knabben. All rights reserved.\r
                </p>\r
        </div>\r