ckeditor-cowriter 0.1.5
Install from the command line:
Learn more about npm packages
$ npm install @netresearch/ckeditor-cowriter@0.1.5
Install via package.json:
"@netresearch/ckeditor-cowriter": "0.1.5"
About this version
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.
-
Install the plugin with npm:
npm install ckeditor-cowriter
-
Enable the plugin by using the
extraPlugins
configuration setting. For example:config.extraPlugins = 'cowriter';
-
Add the following script tag to your HTML page:
<script src="https://netresearch.github.io/ckeditor-cowriter/plugin.js"></script>
-
Enable the plugin by using the
extraPlugins
configuration setting. For example:config.extraPlugins = 'cowriter';
-
Download the latest release of the plugin.
-
Extract the contents of the archive into the CKEditor 4 plugins directory.
-
Enable the plugin by using the
extraPlugins
configuration setting. For example:config.extraPlugins = 'cowriter';
You need to define your OpenAI credentials.
```javascript
const OPENAI_KEY = 'YOUR-KEY'
const OPENAI_ORG = 'org-YOUR-ORG-KEY'
```
- Click on the
Cowriter
button in the toolbar. - Enter a prompt.
- Click on the
Generate
button. - The generated text will be inserted into the editor.
Licensed under the terms of the GNU General Public License, version 3 or later.
- All Contributors
- This plugin is based on the CKEditor 4 Plugin - GPT-3 by Netresearch.
- It uses Flaticon's document icon.
- [x] Add documentation
- [x] Add configuration options
- [x] Add support for other OpenAI APIs
- [ ] Add tests
- [ ] Add support for other AI APIs
We welcome contributions to this project. Please see our contribution guidelines for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker!
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.