X-Git-Url: https://scm.cri.ensmp.fr/git/ckeditor.git/blobdiff_plain/256592bf803e851aa7fc953e08a6e9e58d970f8c..871bad8291b6dbc29d489d95d185458caab25158:/skins/ckeditor/_samples/stylesheetparser.html diff --git a/skins/ckeditor/_samples/stylesheetparser.html b/skins/ckeditor/_samples/stylesheetparser.html new file mode 100644 index 0000000..a938802 --- /dev/null +++ b/skins/ckeditor/_samples/stylesheetparser.html @@ -0,0 +1,93 @@ + + + + + Using Stylesheet Parser Plugin — CKEditor Sample + + + + + + +

+ CKEditor Sample — Using the Stylesheet Parser Plugin +

+
+

+ This sample shows how to configure CKEditor instances to use the + Stylesheet Parser (stylesheetparser) plugin that fills + the Styles drop-down list based on the CSS rules available in the document stylesheet. +

+

+ To add a CKEditor instance using the stylesheetparser plugin, insert + the following JavaScript call into your code: +

+
CKEDITOR.replace( 'textarea_id',
+	{
+		extraPlugins : 'stylesheetparser'
+	});
+

+ Note that textarea_id in the code above is the id attribute of + the <textarea> element to be replaced with CKEditor. +

+
+ + +
+ +
+
+

+ + + +

+

+ +

+
+ + +