{"id":13601997,"url":"https://github.com/sibiraj-s/ngx-editor","last_synced_at":"2025-05-14T05:10:25.556Z","repository":{"id":40372316,"uuid":"104471422","full_name":"sibiraj-s/ngx-editor","owner":"sibiraj-s","description":"🖋️ Rich Text Editor for angular using ProseMirror","archived":false,"fork":false,"pushed_at":"2025-04-26T13:46:12.000Z","size":17951,"stargazers_count":472,"open_issues_count":31,"forks_count":196,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-04-26T14:38:12.851Z","etag":null,"topics":["angular","ngx-editor","prosemirror","rich-text-editor","wysiwyg-editor"],"latest_commit_sha":null,"homepage":"https://sibiraj-s.github.io/ngx-editor/","language":"TypeScript","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/sibiraj-s.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["sibiraj-s"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2017-09-22T12:22:09.000Z","updated_at":"2025-04-26T13:46:15.000Z","dependencies_parsed_at":"2024-01-22T06:39:51.023Z","dependency_job_id":"fe599e20-1e78-43bc-add3-78093e2689be","html_url":"https://github.com/sibiraj-s/ngx-editor","commit_stats":{"total_commits":1134,"total_committers":33,"mean_commits":34.36363636363637,"dds":0.3015873015873016,"last_synced_commit":"0080e31ceb63567ccd4ed3e669a03095f9898b34"},"previous_names":[],"tags_count":146,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sibiraj-s%2Fngx-editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sibiraj-s%2Fngx-editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sibiraj-s%2Fngx-editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sibiraj-s%2Fngx-editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sibiraj-s","download_url":"https://codeload.github.com/sibiraj-s/ngx-editor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251004654,"owners_count":21521522,"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","ngx-editor","prosemirror","rich-text-editor","wysiwyg-editor"],"created_at":"2024-08-01T18:01:11.341Z","updated_at":"2025-05-14T05:10:25.536Z","avatar_url":"https://github.com/sibiraj-s.png","language":"TypeScript","funding_links":["https://github.com/sponsors/sibiraj-s"],"categories":["angular","基于 Angular","Third Party Components"],"sub_categories":["Editors"],"readme":"# NgxEditor\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/sibiraj-s/ngx-editor\"\u003e\n   \u003cimg src=\"./sketch/ngx-editor.svg\" alt=\"ngxEditor\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003eThe Rich Text Editor for Angular, Built on ProseMirror\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/sibiraj-s/ngx-editor/actions\"\u003e\n    \u003cimg alt=\"Tests\" src=\"https://github.com/sibiraj-s/ngx-editor/workflows/Tests/badge.svg\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/ngx-editor\"\u003e\n    \u003cimg alt=\"npm version\" src=\"https://badgen.net/npm/v/ngx-editor\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/ngx-editor\"\u003e\n    \u003cimg alt=\"npm\" src=\"https://badgen.net/npm/dm/ngx-editor\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/ngx-editor\"\u003e\n    \u003cimg alt=\"npm\" src=\"https://badgen.net/npm/dt/ngx-editor\"\u003e\n  \u003c/a\u003e\n  \u003cbr /\u003e\n  \u003ca href=\"https://github.com/sibiraj-s/ngx-editor/blob/master/LICENSE\"\u003e\n    \u003cimg alt=\"licence\" src=\"https://badgen.net/npm/license/ngx-editor\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003e A simple rich text editor for angular applications built with ProseMirror. It is a drop in and easy-to-use editor\n\u003e and can be easily extended using prosemirror plugins to build any additional or missing features\n\n## Getting Started\n\n[demo] | [edit on stackblitz][stackblitz] | [documentation] | [migrating from other editors][migration]\n\n### Installation\n\nInstall via Package managers such as [npm] or [pnpm] or [yarn]\n\n```bash\nnpm install ngx-editor\n# or\npnpm install ngx-editor\n# or\nyarn add ngx-editor\n```\n\n### Usage\n\n**Note**: By default the editor comes with minimal features. Refer the [demo] and [documentation] for more details and examples.\n\nComponent\n\n```ts\nimport { NgxEditorComponent, NgxEditorMenuComponent, Editor } from 'ngx-editor';\nimport { FormsModule } from '@angular/forms';\n\n@Component({\n  selector: 'editor-component',\n  templateUrl: 'editor.component.html',\n  styleUrls: ['editor.component.scss'],\n  standalone: true,\n  imports: [NgxEditorComponent, NgxEditorMenuComponent, FormsModule],\n})\nexport class NgxEditorComponent implements OnInit, OnDestroy {\n  html = '';\n  editor: Editor;\n  ngOnInit(): void {\n    this.editor = new Editor();\n  }\n\n  ngOnDestroy(): void {\n    this.editor.destroy();\n  }\n}\n```\n\nThen in HTML\n\n```html\n\u003cdiv class=\"NgxEditor__Wrapper\"\u003e\n  \u003cngx-editor-menu [editor]=\"editor\"\u003e \u003c/ngx-editor-menu\u003e\n  \u003cngx-editor\n    [editor]=\"editor\"\n    [ngModel]=\"html\"\n    [disabled]=\"false\"\n    [placeholder]=\"'Type here...'\"\n  \u003e\u003c/ngx-editor\u003e\n\u003c/div\u003e\n```\n\nNote: Input can be a HTML string or a jsonDoc\n\n## Browser Compatibility\n\nMostly works on all Evergreen-Browsers like\n\n- Google Chrome\n- Microsoft Edge\n- Mozilla Firefox\n- Safari\n- Opera\n\n## Collaborative Editing\n\nSee https://sibiraj-s.github.io/ngx-editor/#/collab\n\n## Icons\n\nIcons are from https://fonts.google.com/icons\n\n## Contributing\n\nAll contributions are welcome. See [CONTRIBUTING.md](./.github/CONTRIBUTING.md) to get started.\n\n[npm]: https://www.npmjs.com/\n[pnpm]: https://pnpm.io/\n[yarn]: https://yarnpkg.com/lang/en/\n[documentation]: https://sibiraj-s.github.io/ngx-editor\n[demo]: https://ngx-editor.stackblitz.io/\n[stackblitz]: https://stackblitz.com/edit/ngx-editor\n[migration]: https://sibiraj-s.github.io/ngx-editor/#/migration\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsibiraj-s%2Fngx-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsibiraj-s%2Fngx-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsibiraj-s%2Fngx-editor/lists"}