w8tcha / 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.
MIT License
10 stars 7 forks source link

Could this work with other source code plugins? #20

Closed homestar9 closed 7 years ago

homestar9 commented 9 years ago

Could the same technique be used with a similar source code plugin that uses something other than CodeMirror? For example, the following plugin replaces the default source editor with Ace editor (it's still under development):

http://ckeditor.com/forums/CKEditor/ACE-Editor-Plugin-for-CKEditor-Source-View-Replacement-First-Draft

w8tcha commented 9 years ago

Technically yes, but it depends if such editor provide a similar API as CodeMirror. And that plugin for ACE is not really usably right now, and it is even in development?

homestar9 commented 9 years ago

Here's the latest version of the plugin. I've been using it for awhile now and seems to work in most major browsers I've tested it in. It's my first CKEditor plugin and my first time using GitHub so hopefully this will work:

https://github.com/henweigh/CKEditor-ACEEditor-Plugin