Skip to content

The plugin that makes the editor keep it's text-selection when switching between WYSIWYG and Source mode, and scrolls the selection into the viewport.

License

Notifications You must be signed in to change notification settings

w8tcha/CKEditor-TextSelection-Plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CKEditor-TextSelection-Plugin

=============================

npm version license

The plugin that makes the editor keep it's text-selection when switching between WYSIWYG and Source mode, and scrolls the selection into the viewport.

Forked from https://github.com/sirtet/ckeditor-dev/tree/master/plugins/textselection

This Plugin will also work with the CodeMirror Plugin - http://ckeditor.com/addon/codemirror

Note

The Source Dialog works only in combination with the CodeMirror Plugin

Demo

http://w8tcha.github.io/CKEditor-TextSelection-Plugin/

License

Licensed under the terms of the MIT License.

Installation

  1. Extract the contents of the file into the "plugins" folder of CKEditor.
  2. In the CKEditor configuration file (config.js) add the following code:
config.extraPlugins = 'textselection';

Caution

Editor Mode 'fullPage' is not supported - https://ckeditor.com/docs/ckeditor4/latest/features/fullpage.html

About

The plugin that makes the editor keep it's text-selection when switching between WYSIWYG and Source mode, and scrolls the selection into the viewport.

Resources

License

Stars

Watchers

Forks

Packages

No packages published