https://github.com/divvun/ckeditor-divvungc
Divvun Grammar Checker plugin for CKEditor
https://github.com/divvun/ckeditor-divvungc
ckeditor ckeditor-plugin divvun grammar-checker rich-text-editor
Last synced: 3 months ago
JSON representation
Divvun Grammar Checker plugin for CKEditor
- Host: GitHub
- URL: https://github.com/divvun/ckeditor-divvungc
- Owner: divvun
- Created: 2017-04-01T07:51:16.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-04T05:16:21.000Z (almost 3 years ago)
- Last Synced: 2024-03-26T12:20:01.565Z (over 1 year ago)
- Topics: ckeditor, ckeditor-plugin, divvun, grammar-checker, rich-text-editor
- Language: JavaScript
- Homepage: http://gtweb.uit.no/gc/ck/
- Size: 964 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.org
Awesome Lists containing this project
README
#+TITLE: divvun-webdemo
#+STARTUP: showall* Description
CKEditor plugin for the Divvun grammar checker, with a simple
webdemo.* Usage
If you're serving =/var/www/html= with apache/nginx/whathaveyou, you
can do e.g.#+BEGIN_SRC sh
sudo mkdir /var/www/html/ck-demo
sudo cp -r lib index.html ./*.css locales ck-plugins /var/www/html/ck-demo
#+END_SRCto have the demo running under =location/ck-demo=.
If you want to use the plugin in your own ck-editor, it should be
enough to put the =ck-plugins= folder on your server, and#+BEGIN_SRC js
CKEDITOR.plugins.addExternal('divvungc', window.location.href + '/ck-plugins/divvungc/', 'plugin.js');
CKEDITOR.replace( 'ckeditor', {
extraPlugins: 'divvungc'
});
#+END_SRC
(possibly prepending a subdir to the =/ck-plugins/= path if you put it
in a subdir)Currently the server wants username/password. The plugin reads it from
=window.localStorage["userpass"]=. See =src/app.js='s
readLoginFormStoring on how to set it in localStorage.* TODO [0/3]
- [ ] Strip zero width characters
- [ ] Maybe use jquip instead of jquery
- [ ] Remove all the login/username stuff …