use self hosted packages

This commit is contained in:
2026-06-19 19:02:51 +03:30
parent e95883eb6a
commit dfb77cd8d2
2874 changed files with 40139 additions and 32 deletions
+15 -1
View File
@@ -1,4 +1,18 @@
import Vue from 'vue'
import CKEditor from 'ckeditor4-vue'
Vue.use(CKEditor)
const editorUrl = '/js/ckeditor/ckeditor.js'
window.CKEDITOR_BASEPATH = '/js/ckeditor/'
// editorUrl is a component prop, not a Vue.use() option — the default is the CDN.
Vue.component('ckeditor', {
...CKEditor.component,
props: {
...CKEditor.component.props,
editorUrl: {
type: String,
default: editorUrl,
},
},
})