https://github.com/extensionengine/tce-jodit
https://github.com/extensionengine/tce-jodit
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/extensionengine/tce-jodit
- Owner: ExtensionEngine
- License: mit
- Created: 2019-10-25T12:51:00.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-10-01T15:50:06.000Z (over 1 year ago)
- Last Synced: 2025-01-15T23:20:25.914Z (5 months ago)
- Language: JavaScript
- Size: 20.5 MB
- Stars: 4
- Watchers: 8
- Forks: 2
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @extensionengine/tce-jodit
[](https://circleci.com/gh/ExtensionEngine/tce-jodit)
[](https://packagephobia.now.sh/result?p=@extensionengine/tce-jodit)
[](https://npm.im/@extensionengine/tce-jodit)
[](https://github.com/ExtensionEngine/tce-jodit/blob/master/LICENSE)
[](https://github.com/ExtensionEngine/eslint-config)
[](https://github.com/ExtensionEngine/stylelint-config)### Development
Install dependencies
```
npm install
```Use `vue-cli` to run local example
```
npm run serve
```Build
```
npm run build
```💁♂️ Extra tips:
For debugging `jodit` use the unminified version. In the `jodit-vue` package export `jodit.es2018.js` in `node_modules/jodit-vue/src/wrapper.js`
```js
//...
export default plugin;
export { JoditEditor, JoditEditor as JoditVue };
export { Jodit } from 'jodit/build/jodit.es2018';
```and in `src/edit/Editor.vue` import
```vue
import { Jodit, JoditVue } from 'jodit-vue/src/wrapper';
...```
This will make things much easier when developing custom plugins to see what's going on.
Make sure you revert the changes in the `src/edit/Editor.vue` before submitting a PR.