@bloomreach/hippo-ckeditor-textselection-plugin

CKEditor-TextSelection-Plugin =============================

Usage no npm install needed!

<script type="module">
  import bloomreachHippoCkeditorTextselectionPlugin from 'https://cdn.skypack.dev/@bloomreach/hippo-ckeditor-textselection-plugin';
</script>

README

CKEditor-TextSelection-Plugin

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

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';

TODO

  • Add Support for the Source Dialog Plugin