在angular中实现自定义编辑器内置
我正在尝试使用自定义构建。 下载打包,放入文件夹 在项目内部导入它 从“@ckeditor/ckeditor5 simpleImage”导入*作为编辑器; 和得到错误 找不到模块“@ckeditor/ckeditor5 upload”或其对应的 类型声明 文件位于正确的位置,因此我认为该版本的package.json文件中有一些内容。 给你在angular中实现自定义编辑器内置,angular,ckeditor,customization,Angular,Ckeditor,Customization,我正在尝试使用自定义构建。 下载打包,放入文件夹 在项目内部导入它 从“@ckeditor/ckeditor5 simpleImage”导入*作为编辑器; 和得到错误 找不到模块“@ckeditor/ckeditor5 upload”或其对应的 类型声明 文件位于正确的位置,因此我认为该版本的package.json文件中有一些内容。 给你 { "name": "ckeditor5-custom-build", "author"
{
"name": "ckeditor5-custom-build",
"author": "CKSource",
"description": "A custom CKEditor 5 build made by the CKEditor 5 online builder.",
"version": "0.0.1",
"license": "SEE LICENSE IN LICENSE.md",
"private": true,
"devDependencies": {
"@ckeditor/ckeditor5-autoformat": "^22.0.0",
"@ckeditor/ckeditor5-basic-styles": "^22.0.0",
"@ckeditor/ckeditor5-block-quote": "^22.0.0",
"@ckeditor/ckeditor5-dev-utils": "^23.4.0",
"@ckeditor/ckeditor5-dev-webpack-plugin": "^23.4.0",
"@ckeditor/ckeditor5-editor-classic": "^22.0.0",
"@ckeditor/ckeditor5-essentials": "^22.0.0",
"@ckeditor/ckeditor5-heading": "^22.0.0",
"@ckeditor/ckeditor5-image": "^22.0.0",
"@ckeditor/ckeditor5-indent": "^22.0.0",
"@ckeditor/ckeditor5-link": "^22.0.0",
"@ckeditor/ckeditor5-list": "^22.0.0",
"@ckeditor/ckeditor5-media-embed": "^22.0.0",
"@ckeditor/ckeditor5-paragraph": "^22.0.0",
"@ckeditor/ckeditor5-paste-from-office": "^22.0.0",
"@ckeditor/ckeditor5-table": "^22.0.0",
"@ckeditor/ckeditor5-theme-lark": "^22.0.0",
"@ckeditor/ckeditor5-typing": "^22.0.0",
"@ckeditor/ckeditor5-upload": "^22.0.0",
"postcss-loader": "^3.0.0",
"raw-loader": "^4.0.1",
"style-loader": "^1.2.1",
"terser-webpack-plugin": "^4.1.0",
"webpack": "^4.44.1",
"webpack-cli": "^3.3.12"
},
"scripts": {
"build": "webpack --mode production"
}
}
我应该在这里做什么才能成功编译我的构建并使其正常工作?有同样的问题,你是否以某种方式解决了这个问题?检查他的解决方案,谢谢@Davidhave同样的问题,你是否以某种方式解决了这个问题?检查他的解决方案,谢谢@David