问题
I use TextAngular which sucks to the core! Anybody using it would know. My users complain every single day :(
I'm looking at alternatives and found some such as Froala ($199) & CKEditor but they require JQuery.
Is there any "good" editor for AngularJS without JQuery that works? I have been searching but couldn't find any. I'm willing to pay too.
回答1:
You have a lot of options. But if you don't like it, just write a new editor and share it with us :)
Angular-Editor -> Demo
Angular Meditor -> Demo
Angular trix -> Demo
ngQuill -> using QuillJs
Angular-inline-text-editor -> Demo
You can create a new editor with small changes.
回答2:
As this is one of the first results on Google when searching for an Angular HTML WYSIWYG editor, I thought I would add to Elaine's comment about her settling on TinyMCE.
There is an Angular module for TinyMCE, ui-tinymce: https://github.com/angular-ui/ui-tinymce
Having just tried and failed to get Angular-Trix working, ui-tinymce appears to work quite well. Note that ui-tinymce appears only to work with TinyMCE version 4.3.12 or lower at the moment. The relevant issue is here: https://github.com/angular-ui/ui-tinymce/issues/264
Additionally, TinyMCE is also quite well documented: https://www.tinymce.com/docs/
Regarding your no jQuery requirement, the module does not explicitly list it as a dependency, so it may just be dependent on Angular's jqlite (or not at all).
来源:https://stackoverflow.com/questions/36079280/rich-text-editor-for-angularjs