@extensionengine/tce-jodit

Tailor content element for Jodit editor

Usage no npm install needed!

<script type="module">
  import extensionengineTceJodit from 'https://cdn.skypack.dev/@extensionengine/tce-jodit';
</script>

README

@extensionengine/tce-jodit

circleci build status install size npm package version github license js @extensionengine style style @extensionengine style

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

//...
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.