diff -r 000000000000 -r 44d330dccc59 ckeditor/samples/old/textselection/textselection.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ckeditor/samples/old/textselection/textselection.html Thu Dec 15 18:10:20 2016 +0300 @@ -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.

+
+
+

+ + + +

+

+ +

+
+ + +