1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/inhu-angular-ueditor

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
В этом репозитории не указан файл с открытой лицензией (LICENSE). При использовании обратитесь к конкретному описанию проекта и его зависимостям в коде.
Клонировать/Скачать
angular-ueditor.min.js 1 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
Dio Отправлено 11 лет назад 9bdbf39
(function(){"use strict";!function(){var a;a=angular.module("ng.ueditor",[]),a.directive("ueditor",[function(){return{restrict:"C",require:"ngModel",scope:{config:"=",ready:"="},link:function(a,b,c,d){var e;new(e=function(){function e(){this.bindRender(),this.initEditor()}return e.prototype.initEditor=function(){var e,f,g;return g=this,"undefined"==typeof UE?void console.error("Please import the local resources of ueditor!"):(e=a.config?a.config:{},f=c.id?c.id:"_editor"+Date.now(),b[0].id=f,this.editor=new UE.getEditor(f,e),this.editor.ready(function(){g.editorReady=!0,g.editor.addListener("contentChange",function(){d.$setViewValue(g.editor.getContent()),a.$$phase||a.$apply()}),g.setEditorContent(),"function"==typeof a.ready&&a.ready(g.editor)}))},e.prototype.setEditorContent=function(a){null==a&&(a=this.modelContent),this.editor&&this.editorReady&&this.editor.setContent(a)},e.prototype.bindRender=function(){var a;a=this,d.$render=function(){a.modelContent=d.$isEmpty(d.$viewValue)?"":d.$viewValue,a.setEditorContent()}},e}())}}}])}()}).call(this);

Комментарий ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://gitlife.ru/oschina-mirror/inhu-angular-ueditor.git
git@gitlife.ru:oschina-mirror/inhu-angular-ueditor.git
oschina-mirror
inhu-angular-ueditor
inhu-angular-ueditor
master