From f60b3a344a704f910e267327581cf778dbab2e7a Mon Sep 17 00:00:00 2001 From: Ingo Herbote Date: Sat, 30 Nov 2013 16:39:01 +0100 Subject: [PATCH] added samples folders (closes #1) --- samples/textselection.html | 125 +++++++++++++++++++++++++++++++++++++ 1 file changed, 125 insertions(+) create mode 100644 samples/textselection.html diff --git a/samples/textselection.html b/samples/textselection.html new file mode 100644 index 00000000000..16f0596f060 --- /dev/null +++ b/samples/textselection.html @@ -0,0 +1,125 @@ + + + + + Textselection Plugin — CKEditor Sample + + + + + + + + +

+ CKEditor Samples » Using textselection Plugin +

+
+

+ This sample shows how to configure CKEditor instances to use the + textselection (textselection) plugin that makes the editor keep it's text-selection when switching between WYSIWYG and Source mode, and scrolls the selection into the viewport.

+

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

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

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

+
+
+

+ + + +

+

+ +

+
+ + +