From c1803a7603135e2c148d89d5e05596f5d251842a Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 31 Jan 2018 18:27:58 +0800 Subject: =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../samples/old/htmlwriter/outputhtml.html | 224 +++++++++++++++++++++ 1 file changed, 224 insertions(+) create mode 100644 html/ckeditor/samples/old/htmlwriter/outputhtml.html (limited to 'html/ckeditor/samples/old/htmlwriter/outputhtml.html') diff --git a/html/ckeditor/samples/old/htmlwriter/outputhtml.html b/html/ckeditor/samples/old/htmlwriter/outputhtml.html new file mode 100644 index 0000000..f95085d --- /dev/null +++ b/html/ckeditor/samples/old/htmlwriter/outputhtml.html @@ -0,0 +1,224 @@ + + + + + + HTML Compliant Output — CKEditor Sample + + + + + + + + + +

+ CKEditor Samples » Producing HTML Compliant Output +

+
+ This sample is not maintained anymore. Check out the brand new samples in CKEditor SDK. +
+
+

+ This sample shows how to configure CKEditor to output valid + HTML 4.01 code. + Traditional HTML elements like <b>, + <i>, and <font> are used in place of + <strong>, <em>, and CSS styles. +

+

+ To add a CKEditor instance outputting legacy HTML 4.01 code, load the editor using a standard + JavaScript call, and define CKEditor features to use the HTML compliant elements and attributes. +

+

+ A snippet of the configuration code can be seen below; check the source of this page for + full definition: +

+
+CKEDITOR.replace( 'textarea_id', {
+	coreStyles_bold: { element: 'b' },
+	coreStyles_italic: { element: 'i' },
+
+	fontSize_style: {
+		element: 'font',
+		attributes: { 'size': '#(size)' }
+	}
+
+	...
+});
+
+
+

+ + + +

+

+ +

+
+ + + -- cgit v1.1-26-g67d0