Comments (12)
First library that you have to build plugins and stuff from source by yourself.. what a shi... library. Quite difficult to implement..
from ckeditor5-vue.
Hi. I tried to go with that guide by which rose multiple errors. After doing npm run dev
, the first error was:
ERROR in ./node_modules/@ckeditor/ckeditor5-link/theme/linkform.css (./node_modules/css-loader??ref--7-1!./node_modules/postcss-loader/src??ref--7-2!./node_modules/@ckeditor/ckeditor5-link/theme/linkform.css)
Module not found: Error: Can't resolve './@ckeditor/ckeditor5-theme-lark/theme/mixins/_rwd.css' in 'E:\xampp\htdocs\xampp\external\the-project\node_modules\@ckeditor\ckeditor5-link\theme'
Despite I'm sure that the _rwd.css
file exists, I removed this line:
@import "@ckeditor/ckeditor5-theme-lark/theme/mixins/_rwd.css"
from linkform.css
and linkform.css
After that, compilation completed successfully. But there was another error. In the browser console I get TypeError: "svg is null"
.
Any help? Thanks in advance.
from ckeditor5-vue.
@Mgsy I don't know why this is disabled. I'll check your guide and inform you here. Thanks.
from ckeditor5-vue.
Hello, you should build the editor from the source. Did you follow our guide?
from ckeditor5-vue.
@Mgsy Thanks for this fast response.
Edit: Let me try it...
from ckeditor5-vue.
Can you share your editor configuration code and vue.config.js
file? And are you sure that you've installed all dependencies?
from ckeditor5-vue.
@Mgsy Problem solved. I'm using CKEditor inside a Laravel app. So I had to change the configuration based on this issue. It would be good if it mentioned somewhere.
BTW Thanks a lot for your help and attentions.
Edit: Can you tell me why ckfinder
logo is disabled on the editor? When I click on it, nothing happens.
from ckeditor5-vue.
I'm glad that you managed to solve your problem.
About CKFinder - I can't reproduce your issue, after adding CKFinder to the editor (also in Vue integration), the icon is enabled. Did you see our CKFinder integration guide?
from ckeditor5-vue.
@Mgsy Although I followed your guide, that problem (disabled ckfinder icon) existed for image
plugin too and unfortunately I had to switch to another text editor.
Thanks.
from ckeditor5-vue.
@AliN11, I'm sorry to hear that you struggled with this problem. However, can I ask you to create a new ticket and describe the exact steps needed to reproduce the issue? It will be very helpful for us, so we'll be able to investigate it and fix the bug (if needed).
from ckeditor5-vue.
Hi. I tried to go with that guide by which rose multiple errors. After doing
npm run dev
, the first error was:ERROR in ./node_modules/@ckeditor/ckeditor5-link/theme/linkform.css (./node_modules/css-loader??ref--7-1!./node_modules/postcss-loader/src??ref--7-2!./node_modules/@ckeditor/ckeditor5-link/theme/linkform.css) Module not found: Error: Can't resolve './@ckeditor/ckeditor5-theme-lark/theme/mixins/_rwd.css' in 'E:\xampp\htdocs\xampp\external\the-project\node_modules\@ckeditor\ckeditor5-link\theme'
Despite I'm sure that the
_rwd.css
file exists, I removed this line:
@import "@ckeditor/ckeditor5-theme-lark/theme/mixins/_rwd.css"
fromlinkform.css
andlinkform.css
After that, compilation completed successfully. But there was another error. In the browser console I get
TypeError: "svg is null"
.Any help? Thanks in advance.
I met the exact same issue, can you share how did you fix it?
from ckeditor5-vue.
OK, fixed by
chainWebpack(config, { webpack }) {
config.module
.rule('ckeditor5css')
.test(/ckeditor5-[^/\\]+[/\\]theme[/\\].+\.css/)
.oneOf('normal')
.use('style-loader')
.loader('style-loader')
.end()
.end()
.oneOf('postcss')
.before('normal')
.use('postcss-loader')
.loader('postcss-loader')
.options(
styles.getPostCssConfig({
themeImporter: {
themePath: require.resolve('@ckeditor/ckeditor5-theme-lark'),
},
minify: true,
}),
);
}
from ckeditor5-vue.
Related Issues (20)
- ckeditor vue plugins css build error (with any plugin) HOT 4
- strikethrough and underline not listing as toolbar items
- Automated tests and coverage fails on Windows HOT 2
- CKFiner errors: CKEditorError: window.CKFinder is undefined & undefined (reading 'modal') HOT 1
- `emitDebouncedInputEvent` causes performance issue with long and complex content HOT 3
- Performance issues in processing content with multiple paragraphs containing multiple inline widgets HOT 2
- [VUE] Align the release process to the changes in ckeditor5-dev
- Custom build issues (object, instead of function) - Documentation issues? HOT 1
- v-model, events "input" or "update: model-value" do not work in source edit mode HOT 3
- Uncaught ReferenceError: global is not defined HOT 1
- 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 6
- 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
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.