Comments (5)
Bear in mind that CKEditor 5 doesn't run on IE11. If you're interested in this topic please vote there or leave a note, we're experimenting with it a little now.
from ckeditor5-vue.
For now I created a mixin that loads the script dynamically from the CDN.
export default {
methods: {
loadScript(src, callback = null) {
let script = document.createElement('script');
script.setAttribute('src', src);
script.addEventListener('load', callback);
document.head.appendChild(script)
},
}
}
Then I use it like this, along with a v-if="editor"
on the <ckeditor>
created() {
this.loadScript('https://cdn.ckeditor.com/ckeditor5/12.0.0/classic/ckeditor.js', _ => {
this.editor = window.ClassicEditor;
})
},
from ckeditor5-vue.
Hello, please take a look at our guide about integrating CKEditor 5 with Vue.js. Does it solve your problem?
from ckeditor5-vue.
No, since I need support for IE 11. I was using https://ckeditor.com/docs/ckeditor5/latest/builds/guides/integration/frameworks/vuejs.html#using-es6-modules before.
from ckeditor5-vue.
Ok, then we can close this.
from ckeditor5-vue.
Related Issues (20)
- Migrate to CircleCI in ckeditor/ckeditor5-vue
- Add link popup have wrong position in Modal with fixed mask HOT 3
- Uncaught SyntaxError when integrating a build from the online builder when using `npm add file:./ckeditor5` in Vue HOT 7
- Table captions is absent HOT 3
- Add support for multi-root editor
- How to set the height of the editor in Vue3? I set CSS, but none of it worked HOT 8
- vue3+ts+vite use custom build HOT 1
- Allow control of batchType options in model-value watcher
- Investigate warning
- Bug Report: Strikethrough Not Showing on Vue 3 with CKEditor
- Make use of the `generic` attribute to provide better typing
- Remove argument passed to the `@destroy` event
- Better export of the `Ckeditor` component
- How to unit test the component
- Request for API to Retrieve Specific Node Data Using editor.getData()
- Multiple installed dependencies when executing npm i@ckeditor /ckeditor5-vue
- Hot reload not working when add ckeditor5-vue
- 7.0.0 Upgrade - Syntax error reported and causes the view to white screen HOT 1
- Vue CKEditor throws error on production build when model contains html tags HOT 5
- Language not changed of editor when translate to another lang without page reload
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ckeditor5-vue.