X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=samples%2Fxhtmlstyle.html;h=cbda1640925fe32bbe17479f917659478acd7c09;hb=9ff13aaba26bcf5e5315d53a58465507b3c44196;hp=974b88c2d35f1319cfa9c93def7a95751ba45e78;hpb=860af3c4bde9866c53d5123c57e3dc6166e0fe1e;p=ckeditor.git diff --git a/samples/xhtmlstyle.html b/samples/xhtmlstyle.html index 974b88c..cbda164 100644 --- a/samples/xhtmlstyle.html +++ b/samples/xhtmlstyle.html @@ -62,6 +62,18 @@ CKEDITOR.replace( 'textarea_id', { contentsCss: 'assets/outputxhtml/outputxhtml.css', /* + * Special allowed content rules for spans used by + * font face, size, and color buttons. + * + * Note: all rules have been written separately so + * it was possible to specify required classes. + */ + extraAllowedContent: 'span(!FontColor1);span(!FontColor2);span(!FontColor3);' + + 'span(!FontColor1BG);span(!FontColor2BG);span(!FontColor3BG);' + + 'span(!FontComic);span(!FontCourier);span(!FontTimes);' + + 'span(!FontSmaller);span(!FontLarger);span(!FontSmall);span(!FontBig);span(!FontDouble)', + + /* * Core styles. */ coreStyles_bold: {