X-Git-Url: https://scm.cri.ensmp.fr/git/ckeditor.git/blobdiff_plain/256592bf803e851aa7fc953e08a6e9e58d970f8c..871bad8291b6dbc29d489d95d185458caab25158:/skins/ckeditor/_samples/bbcode.html diff --git a/skins/ckeditor/_samples/bbcode.html b/skins/ckeditor/_samples/bbcode.html new file mode 100644 index 0000000..6dafd02 --- /dev/null +++ b/skins/ckeditor/_samples/bbcode.html @@ -0,0 +1,125 @@ + + + + + BBCode Plugin — CKEditor Sample + + + + + + +

+ CKEditor Sample — BBCode Plugin +

+
+

+ This sample shows how to configure CKEditor to output BBCode format instead of HTML. + Please note that the editor configuration was modified to reflect what is needed in a BBCode editing environment. + Smiley images, for example, were stripped to the emoticons that are commonly used in some BBCode dialects. +

+

+ Please note that currently there is no standard for the BBCode markup language, so its implementation + for different platforms (message boards, blogs etc.) can vary. This means that before using CKEditor to + output BBCode you may need to adjust the implementation to your own environment. +

+

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

+
+CKEDITOR.replace( 'editor1',
+	{
+		extraPlugins : 'bbcode',
+		toolbar :
+		[
+			['Source', '-', 'Save','NewPage','-','Undo','Redo'],
+			['Find','Replace','-','SelectAll','RemoveFormat'],
+			['Link', 'Unlink', 'Image'],
+			'/',
+			['FontSize', 'Bold', 'Italic','Underline'],
+			['NumberedList','BulletedList','-','Blockquote'],
+			['TextColor', '-', 'Smiley','SpecialChar', '-', 'Maximize']
+		],
+		... some other configurations omitted here
+	});	
+
+ + +
+ +
+
+

+ + + +

+

+ +

+
+ + +