From 20f9884f9a52e810d7e3cdbdd92eabc64812e097 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 15 Mar 2014 15:05:42 -0300 Subject: Squashed 'mod/ckeditor/' content from commit 9f4ede0 git-subtree-dir: mod/ckeditor git-subtree-split: 9f4ede06562e229a26d7ae8d32ebb23453c293e7 --- .../samples/plugins/htmlwriter/outputhtml.html | 237 +++++++++++++++++++++ 1 file changed, 237 insertions(+) create mode 100644 vendors/ckeditor/samples/plugins/htmlwriter/outputhtml.html (limited to 'vendors/ckeditor/samples/plugins/htmlwriter/outputhtml.html') diff --git a/vendors/ckeditor/samples/plugins/htmlwriter/outputhtml.html b/vendors/ckeditor/samples/plugins/htmlwriter/outputhtml.html new file mode 100644 index 000000000..1dddd0d8b --- /dev/null +++ b/vendors/ckeditor/samples/plugins/htmlwriter/outputhtml.html @@ -0,0 +1,237 @@ + + + + + HTML Compliant Output — CKEditor Sample + + + + + + + + + + +

+ CKEditor Samples » Producing HTML Compliant Output +

+
+

+ 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.2.3