{"id":20486032,"url":"https://github.com/maiscrm/angular1-ueditor","last_synced_at":"2025-12-12T04:20:58.839Z","repository":{"id":58213949,"uuid":"107943894","full_name":"maiscrm/angular1-ueditor","owner":"maiscrm","description":"ueditor angular directive","archived":false,"fork":false,"pushed_at":"2017-12-08T07:22:16.000Z","size":2591,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-11T08:13:50.601Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maiscrm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-23T07:00:41.000Z","updated_at":"2017-12-08T07:07:36.000Z","dependencies_parsed_at":"2022-09-14T03:30:41.173Z","dependency_job_id":null,"html_url":"https://github.com/maiscrm/angular1-ueditor","commit_stats":null,"previous_names":["frontnode/angular1-ueditor"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/maiscrm/angular1-ueditor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maiscrm%2Fangular1-ueditor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maiscrm%2Fangular1-ueditor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maiscrm%2Fangular1-ueditor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maiscrm%2Fangular1-ueditor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maiscrm","download_url":"https://codeload.github.com/maiscrm/angular1-ueditor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maiscrm%2Fangular1-ueditor/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260919437,"owners_count":23082760,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T16:34:48.317Z","updated_at":"2025-12-12T04:20:58.771Z","avatar_url":"https://github.com/maiscrm.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"angular-ueditor\n===============\n**angular-ueditor** is a prot of Baidu [UEditor](http://ueditor.baidu.com)\n\nThe goal is to use UEditor whit angular easier\n\n## Demo\n\nhttp://zqjimlove.github.io/angular-ueditor/ \n\n## Installation\n\nInclude both the `javascript` file of [UEditor](http://ueditor.baidu.com):\n\n```html\n\u003cscript type=\"text/javascript\" src=\"/ueditor/ueditor.config.js\"\u003e\u003c/script\u003e\n\u003cscript type=\"text/javascript\" src=\"/ueditor/ueditor.all.js\"\u003e\u003c/script\u003e\n```\n\nGrab the latest release and `javascript` file:\n\n```html\n\u003cscript type=\"text/javascript\" src=\"angular-ueditor.js\"\u003e\u003c/script\u003e\n```\n\nThen add `angular-ueditor` to your modules dependencies:\n\n```js\nangular.module('app', ['ng.ueditor'])\n```\n\n## Bower install\n\n**You should include the `javascript` file of [UEditor](http://ueditor.baidu.com) by yourself,because the UEDitor not in Bower**\n\n```Shell\nbower install angular-ueditor --save\n```\n\n## Usage\n\n#### Basic usage\n\n**Must bind `NgModel`**\n\n```html\n\u003cdiv class=\"ueditor\" ng-model=\"content\"\u003e\u003c/div\u003e\n```\n\n#### Editor customization\n\nYou can customize the UEditor by [UE start config](http://fex-team.github.io/ueditor/#start-config)\n\n\n```html\n\u003cdiv class=\"ueditor\" config=\"config\" ng-model=\"content\"\u003e\u003c/div\u003e\n...\n\u003cscript\u003e\n    $scope.config = {\n        ...\n    }\n\u003c/script\u003e\n```\n\n## Method\n\n#### `ready(listener)`\n\nRegisters a listener callback to be executed whenever the editor ready.\n\n##### Parameters\n\nparame       |type                         |Details\n-------------|-----------------------------|-------\nlistener     |function(editor)             |Callback called whenever the editor ready.\n\n##### Example\n\n```html\n\u003cdiv class=\"ueditor\" ready=\"ready\" ng-model=\"content\"\u003e\u003c/div\u003e\n...\n\u003cscript type=\"text/javascript\"\u003e\n    $scope.ready = function(editor){\n        alert(editor.getContent());\n    }\n\u003c/script\u003e\n```\n\n## Building\n\nIf you want to build from master, you need to:\n\n```Shell\nnpm install\ngrunt\n```\n\n## Test\n\n```Shell\nnpm install\nnpm test\n```\n\n## License\n\nMit License: http://www.opensource.org/licenses/mit-license.php","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaiscrm%2Fangular1-ueditor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaiscrm%2Fangular1-ueditor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaiscrm%2Fangular1-ueditor/lists"}