angular.js - How to integrate uditor plug-in in angularjs? ?
曾经蜡笔没有小新
曾经蜡笔没有小新 2017-05-15 17:01:33
0
3
571

How to integrate uditor plug-in in angularjs? ?

There are so many tutorials on the Internet, but they are all useless or very general.

Can anyone give me some advice? It seems that there is no information about the auditor. .

There is a plug-in:
https://github.com/zqjimlove/angular-ueditor

But what bower installation is required? There are so many things to install with one plug-in....

曾经蜡笔没有小新
曾经蜡笔没有小新

reply all(3)
Peter_Zhu
可以自己封装成服务。但是需要注意umeditor.js文件含有初始化代码,切换路由时,要么重新加载此文件,要么把此文件封装成函数再执行一次。
当然最好使用第二种方法,然后再把代码压缩一次。

My blog description:
http://www.cnblogs.com/mazhao...

小葫芦

ueditor can be used alone, it has nothing to do with whether you use angular or not.
You can just download ueditor related files. Of course, if you want a modular approach, that’s a different matter.

左手右手慢动作

Bower is a package management tool that can easily help you download various packages, so it has nothing to do with plug-ins. You should be able to directly copy the js in dist, I guess.
Back to ueditor, it really has nothing to do with using angular. You can follow the official website documentation and reference those files in the index.html file, and then you can use it directly in the controller without loading it through modules

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template