我是angular6的新手。我已经使用JHipster创建了一个项目,并试图使用CKEditor 5创建一个WYSIWYG富文本编辑器。我已经通过使用以下链接来创建编辑器,完成了以下步骤。
在html中使用以下代码
块引用
<ckeditor [editor]="Editor" data="<p>Hello world!</p>"></ckeditor>
Run Code Online (Sandbox Code Playgroud)
当我转到该页面时,我添加了以下错误,该错误是从浏览器开发人员工具控制台获得的。
ERROR TypeError: Cannot read property 'create' of undefined
at CKEditorComponent.createEditor (ckeditor-ckeditor5-angular.js?076d:187)
at eval (ckeditor-ckeditor5-angular.js?076d:96)
at ZoneDelegate.invoke (zone.js?d135:388)
at Zone.run (zone.js?d135:138)
at NgZone.runOutsideAngular (core.js?09c9:3784)
at CKEditorComponent.ngAfterViewInit (ckeditor-ckeditor5-angular.js?076d:95)
at callProviderLifecycles (core.js?09c9:9568)
at callElementProvidersLifecycles (core.js?09c9:9542)
at callLifecycleHooksChildrenFirst (core.js?09c9:9532)
at checkAndUpdateView (core.js?09c9:10468)
Run Code Online (Sandbox Code Playgroud)
我只是想知道这是CKEditor 5的问题还是我错过了任何步骤?
任何帮助/方向来解决这个问题,将不胜感激!