Skip to content
This repository has been archived by the owner on Nov 2, 2023. It is now read-only.

angular5.2.0使用报错 #36

Closed
superkerio opened this issue May 23, 2018 · 9 comments
Closed

angular5.2.0使用报错 #36

superkerio opened this issue May 23, 2018 · 9 comments

Comments

@superkerio
Copy link

image
image
image
image
image
不知道是我配置出了问题还是兼容性问题?

@cipchk
Copy link
Owner

cipchk commented May 23, 2018

Angular6 以下只能使用 1.1.0 版本。

@cipchk cipchk closed this as completed May 23, 2018
@superkerio
Copy link
Author

还是不行啊,换了1.1.0和1.0.8都不行,说ueditor is not an Angular component.跟上图一样。头疼

@cipchk
Copy link
Owner

cipchk commented May 23, 2018

那就是缺少模块导入

@superkerio
Copy link
Author

可以了,按照报错提示弄就行了。跟插件没什么关系。感谢大佬回复。
image

@danxiaogui
Copy link

image
image

<ueditor [(ngModel)]="html"
[config]="{ wordCount: true }"
[loadingTip]="'加载中……'"
(onReady)="_ready($event)"
(onDestroy)="_destroy()"
(ngModelChange)="_change($event)">

运行出错:
image

@danxiaogui
Copy link

我的angular版本是
image

@danxiaogui
Copy link

项目是 ng-alain + ng-zorro-antd,在使用 Ueditor 时出错,我检查过工程,甚至参照 https://github.com/ng-alain/delon 工程进行修改,还是找不到出错的原因,请问这是哪里出错了,谢谢。

@cipchk
Copy link
Owner

cipchk commented Nov 28, 2018

@danxiaogui 若是子模块,请注意在 SharedModule 导入和导出 UEditorModule

@danxiaogui
Copy link

danxiaogui commented Nov 29, 2018 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants