0.4.1 ⢠Published 2 years ago
@extensionengine/tce-jodit v0.4.1
@extensionengine/tce-jodit
Development
Install dependencies
npm installUse vue-cli to run local example
npm run serveBuild
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
//...
export default plugin;
export { JoditEditor, JoditEditor as JoditVue };
export { Jodit } from 'jodit/build/jodit.es2018';and in src/edit/Editor.vue import
<script>
import { Jodit, JoditVue } from 'jodit-vue/src/wrapper';
...
</script>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.