Skip to content

ckeditor-cowriter 0.1.8

Install from the command line:
Learn more about npm packages
$ npm install @netresearch/ckeditor-cowriter@0.1.8
Install via package.json:
"@netresearch/ckeditor-cowriter": "0.1.8"

About this version

CKEditor 4 Plugin - Cowriter 🤖

Release

This plugin generates content with the help of artificial intelligence. It is based on the CKEditor 4. It uses the OpenAI API to generate text.

Installation

You can find the plugin in the CKEditor plugin directory: https://ckeditor.com/cke4/addon/cowriter.

Installation with npm

  1. Install the plugin with npm:

     npm install ckeditor-cowriter   
    
  2. Enable the plugin by using the extraPlugins configuration setting. For example:

     config.extraPlugins = 'cowriter';
    

Installation from CDN

  1. Add the following script tag to your HTML page:

     <script src="https://netresearch.github.io/ckeditor-cowriter/plugin.js"></script>
    
  2. Enable the plugin by using the extraPlugins configuration setting. For example:

     config.extraPlugins = 'cowriter';
    

Installation from source

  1. Download the latest release of the plugin.

  2. Extract the contents of the archive into the CKEditor 4 plugins directory.

  3. Enable the plugin by using the extraPlugins configuration setting. For example:

     config.extraPlugins = 'cowriter';
    

Configuration

You need to define your OpenAI credentials.

```javascript
    const OPENAI_KEY = 'YOUR-KEY'
    const OPENAI_ORG = 'org-YOUR-ORG-KEY'
```

Usage

  1. Click on the Cowriter button in the toolbar.
  2. Enter a prompt.
  3. Click on the Generate button.
  4. The generated text will be inserted into the editor.

License

Licensed under the terms of the GNU General Public License, version 3 or later.

Credits

TODO

  • [x] Add documentation
  • [x] Add configuration options
  • [x] Add support for other OpenAI APIs
  • [ ] Add tests
  • [ ] Add support for other AI APIs

Contributing

We welcome contributions to this project. Please see our contribution guidelines for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker!

Contact

Netresearch, the company behind this plugin, is a leading European provider of digital solutions and services for the eCommerce industry. We are a team of eCommerce experts, developers, designers, project managers, and consultants. We are passionate about eCommerce and we love to share our knowledge with the community.

Twitter | LinkedIn | Facebook | Xing | YouTube

Details


Assets

  • ckeditor-cowriter-0.1.8.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0