X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=samples%2Fxhtmlstyle.html;h=f219d11d0d0a8e1c1f884d4970297ad9d5a0136b;hb=aedb6521c23a81ccb889827a7ccc7b42eb93d14f;hp=974b88c2d35f1319cfa9c93def7a95751ba45e78;hpb=860af3c4bde9866c53d5123c57e3dc6166e0fe1e;p=ckeditor.git diff --git a/samples/xhtmlstyle.html b/samples/xhtmlstyle.html index 974b88c..f219d11 100644 --- a/samples/xhtmlstyle.html +++ b/samples/xhtmlstyle.html @@ -1,12 +1,12 @@ - XHTML Compliant Output — CKEditor Sample + XHTML Compliant Output — CKEditor Sample @@ -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: { @@ -211,7 +223,7 @@ CKEDITOR.replace( 'textarea_id', { CKEditor - The text editor for the Internet - http://ckeditor.com

- Copyright © 2003-2013, CKSource - Frederico + Copyright © 2003-2014, CKSource - Frederico Knabben. All rights reserved.