Package Exports
- ckeditor5-build-from-source
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ckeditor5-build-from-source) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
CKEditor 5 classic editor build
First, install the build from npm:
npm install --save ckeditor5-build-from-sourceAnd use it in your website:
<template>
<ckeditor
v-model="somevalue"
:editor="editor"
:config="editorConfig" />
</template>
<script>
import CKEditor from '@ckeditor/ckeditor5-vue'
Vue.use( CKEditor );
require('ckeditor5-build-from-source')
export default {
data(){
return {
editor: window.ClassicEditor,
editorConfig: {
//the editor config
}
}
}
}
</script>