我尝试修改Strapi代码库以定制我想在我的this项目中使用的CKEditor。我添加了很多插件,下面是我的ckeditor.js文件的样子: import ClassicEditorBase from '@ckeditor/ckeditor5-editor-classic/src/classiceditor';
import Alignment from '@ckeditor/ckeditor5-alignment/src/alignment.js';
import Autoformat from '@ckeditor/ckeditor5-aut
我在WebsiteBuilder上使用CKEditor 4.5.6,并添加了这个Glyphicons插件:
我的问题是,当我想要移动图标时,它消失了,并得到了一个错误:
Uncaught TypeError: el.find is not a function
at getFirstTextNode (plugin.js?t=FB9E:2150)
at preserveSpaces (plugin.js?t=FB9E:2121)
at Repository.wrapElement (plugin.js?t=FB9E:699)
at a.<anonymou
我跟随用CKEditor代替Strapi的WYSIWYG编辑器。一切都很顺利。
在从站点跟踪CKEditor之后,我希望CKEditor能够正常加载和运行。
但是,运行npm run build失败时出现了以下错误:Error: Module not found: Error: Can't resolve './@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css' in 'C:\work\myProject\backend\node_modules\@ckeditor\ckeditor5-image\theme'
代
当我在打字稿中使用它时,我遇到了麻烦。
我已经用npm install --save @ckeditor/ckeditor5-react @ckeditor/ckeditor5-build-classic安装了它
并使用以下方法导入:
import { CKEditor } from "@ckeditor/ckeditor5-react";
import ClassicEditor from '@ckeditor/ckeditor5-build-classic';
但是,我得到了以下错误:TS7016: Could not find a declaration
我想在角9中使用ckeditor,我遵循了中的指令,但是它显示了一个错误,我导入了‘@ckeditor/ckeditor 5-build’:
Could not find a declaration file for module '@ckeditor/ckeditor5-build-classic'.
'a:/repositories/BasimStore/source/Web/Frontend/node_modules/@ckeditor/ckeditor5-build-classic/build/ckeditor.js' implicitly has
我试图在Kohana 2上安装CKeditor,我已经将ckeditor文件夹放到库/中,并将ckeditor.php与ckeditor文件夹放在库/中。我试图用以下方法调用控制器中的ckeditor:
$this->ckeditor = new Ckeditor('FCKEDITOR1');
$this->ckeditor->BasePath = 'application/libraries/ckeditor/';
$this->ckeditor->value = 'This is some <strong>s
import BalloonEditor from '@ckeditor/ckeditor5-editor-balloon/src/ballooneditor';
import Essentials from '@ckeditor/ckeditor5-essentials/src/essentials';
import Paragraph from '@ckeditor/ckeditor5-paragraph/src/paragraph';
import Bold from '@ckeditor/ckeditor5-basic-styl