{"id":19990372,"url":"https://github.com/HstarComponents/ngx-ckeditor","last_synced_at":"2025-05-04T09:35:25.761Z","repository":{"id":22781340,"uuid":"97302121","full_name":"HstarComponents/ngx-ckeditor","owner":"HstarComponents","description":"The CKEditor component for angular","archived":false,"fork":false,"pushed_at":"2023-01-27T04:47:58.000Z","size":2918,"stargazers_count":22,"open_issues_count":26,"forks_count":22,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-04-14T10:53:40.359Z","etag":null,"topics":["angular","angular-components","angular4","ckeditor4","component"],"latest_commit_sha":null,"homepage":"https://hstarcomponents.github.io/ngx-ckeditor/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HstarComponents.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-15T08:17:10.000Z","updated_at":"2023-05-29T22:24:48.000Z","dependencies_parsed_at":"2023-02-15T05:46:30.282Z","dependency_job_id":null,"html_url":"https://github.com/HstarComponents/ngx-ckeditor","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HstarComponents%2Fngx-ckeditor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HstarComponents%2Fngx-ckeditor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HstarComponents%2Fngx-ckeditor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HstarComponents%2Fngx-ckeditor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HstarComponents","download_url":"https://codeload.github.com/HstarComponents/ngx-ckeditor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224391390,"owners_count":17303609,"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":["angular","angular-components","angular4","ckeditor4","component"],"created_at":"2024-11-13T04:51:11.343Z","updated_at":"2024-11-13T04:51:35.643Z","avatar_url":"https://github.com/HstarComponents.png","language":"JavaScript","readme":"# ngx-ckeditor\n\n[ ![Travis CI Status](https://travis-ci.org/HstarComponents/ngx-ckeditor.svg?branch=master)](https://travis-ci.org/HstarComponents/ngx-ckeditor)\n\nThe CKEditor 4.x component for angular\n\n**If you used the ckeditor 5.x, please see: https://ckeditor.com/docs/ckeditor5/latest/builds/guides/integration/frameworks/angular.html#quick-start**\n\n# Usage\n\n## Installation\n\n- Import CKEditor js file\n\n```html\n\u003cscript src=\"//cdn.ckeditor.com/4.7.1/full/ckeditor.js\"\u003e\u003c/script\u003e\n```\n\n- Install `ngx-ckeditor`\n\n```bash\nnpm i -S ngx-ckeditor\n```\n\n## Sample\n\nImport `CKEditorModule` module in your main module:\n\n```\n// app.module.ts\n\nimport { CKEditorModule } from 'ngx-ckeditor';\n\n@NgModule({\n  imports: [\n    // ...\n    CKEditorModule\n  ],\n  // ...\n})\nexport class AppModule {\n\n}\n```\n\nThen use it in your component:\n\n```html\n// app.component.html\n\n\u003cck-editor name=\"editor1\" [(ngModel)]=\"editorValue\" skin=\"moono-lisa\" language=\"en\" [fullPage]=\"true\"\u003e\u003c/ck-editor\u003e\n```\n\n```js\n// app.component.ts\n\n@Component({\n  selector: 'app',\n  templateUrl: 'app.component.html'\n})\n\nexport class AppComponent implements OnInit {\n\n  public editorValue: string = '';\n\n  ngOnInit() { }\n}\n```\n\n## `CKEditorComponent` Options\n\n| Type    | Name     | DataType | Default Value | Description                                                     |\n| ------- | -------- | -------- | ------------- | --------------------------------------------------------------- |\n| Input   | readonly | boolean  | false         | Enabled / disable readonly on editor                            |\n| Input   | skin     | string   | 'moono-lisa'  | Set the editor skin                                             |\n| Input   | language | string   | 'en'          | Set the editor language                                         |\n| Input   | fullPage | boolean  | false         | Enalbed /disable fullPage mode on editor                        |\n| Input   | config   | object   | {}            | CKEditor's config object, [see more](http://docs.ckeditor.com/) |\n| Input   | inline   | boolean  | false         | Set the inline mode                                             |\n| Two-way | ngModel  | string   |               | Two-way binding value                                           |\n\n# Version Rules (Imports)\n\nIn order to match angular version, the `ngx-ckeditor` version no will same as angular majar version.\n\n* 0.2.x: for angular 2.x ~ 4.x \n* 0.4.x: for angular 5.x ~ 7.x \n* 8.x.x: for angular 8.x\n* 10.x.x: for angular 10.x\n* 11.x.x: for angular 11.x\n* 12.x.x: for angular 12.x\n\n# How to develop?\n\n```bash\ngit clone https://github.com/HstarComponents/ngx-ckeditor.git\n\n# install deps\nnpm i\n\n# run dev\nnpm start\n\n# build demo\nnpm run build:ngx-ckeditor-examples\n\n# build lib\nnpm run build:ngx-ckeditor\n\n# test\nnpm test\n\n# Upgrade angular version\nng update \nng update @angular/core@12 @angular/cli@12\n\n# Package Publish\nnpm run build:ngx-ckeditor\ncp README.md dist/ngx-ckeditor/README.md \u0026\u0026 cp CHANGELOG.md dist/ngx-ckeditor/CHANGELOG.md \u0026\u0026 cd dist/ngx-ckeditor\nnpm publish\n\n# Update Docs Site\nnpm run build:ngx-ckeditor-examples\n# replace docs/index.html content\n```\n\n# FAQ?\n\n1、Metadata version mismatch found version 4, expected 3\n\nA: That because the lib is build for angular 5.x, it will throw the error when your used angular version is 4.x, please use `ngx-ckeditor@0.2.x` for angular 4.x.\n\n# Issues\n\n[Create an issue](https://github.com/HstarComponents/ngx-ckeditor/issues/new)\n\n# [Changelog]\n\n[Changelog](https://github.com/HstarComponents/ngx-ckeditor/blob/master/CHANGELOG.md)\n\n# License\n\n[MIT License](https://github.com/HstarComponents/ngx-ckeditor/blob/master/LICENSE)\n\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FHstarComponents%2Fngx-ckeditor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FHstarComponents%2Fngx-ckeditor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FHstarComponents%2Fngx-ckeditor/lists"}