Video block in toolbar(default) add <oembed>, But it doesn't seem to be rendered.
Is it possible to use <embed> or <iframe> with configuration?
2. Image Issue
Image block in toolbar(default) is system image picker.
I expect it would be added to Base64 <img>, but it just makes filerepository-no-upload-adapter warning.
While looking for a solution, it was confirmed that the Base64UploadAdapter was used and applied as follows, but please provide an appropriate solution due to a conflict between modules.
References
Below is the actual source code.
/plugins/ckeditor.js
import Vue from 'vue'
import CKEditor from '@ckeditor/ckeditor5-vue2'
import '@ckeditor/ckeditor5-build-classic/build/translations/ko'
Vue.use(CKEditor)
/pages/sample.vue
<template>
<ckeditor :editor="editor" v-model="editorData" :config="editorConfig"></ckeditor>
</template>
<script>
import ClassicEditor from '@ckeditor/ckeditor5-build-classic'
import Base64UploadAdapter from '@ckeditor/ckeditor5-upload/src/adapters/base64uploadadapter'
export default {
data () {
editor: ClassicEditor,
editorData: '<p>Content of the editor.</p>',
editorConfig: {
language: 'ko',
plugins: [Base64UploadAdapter] // CKEditorError: ckeditor-duplicated-modules
}
}
}
</script>
1. Video Issue
Video block in toolbar(default) add
<oembed>
, But it doesn't seem to be rendered.<embed>
or<iframe>
with configuration?2. Image Issue
Image block in toolbar(default) is system image picker. I expect it would be added to Base64
<img>
, but it just makesfilerepository-no-upload-adapter
warning.Base64UploadAdapter
was used and applied as follows, but please provide an appropriate solution due to a conflict between modules.References
/plugins/ckeditor.js
/pages/sample.vue