{"id":22485603,"url":"https://github.com/sugarshin/draft-js-checkable-list-plugin","last_synced_at":"2025-07-27T20:34:07.663Z","repository":{"id":57231835,"uuid":"76259697","full_name":"sugarshin/draft-js-checkable-list-plugin","owner":"sugarshin","description":"Checkable list plugin for Draft.js","archived":false,"fork":false,"pushed_at":"2018-05-23T07:00:50.000Z","size":800,"stargazers_count":8,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-29T20:17:12.551Z","etag":null,"topics":["draft-js","draft-js-plugins","react"],"latest_commit_sha":null,"homepage":"https://sugarshin.github.io/draft-js-checkable-list-plugin/","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/sugarshin.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":"2016-12-12T13:40:42.000Z","updated_at":"2020-05-17T00:11:12.000Z","dependencies_parsed_at":"2022-09-04T15:03:42.602Z","dependency_job_id":null,"html_url":"https://github.com/sugarshin/draft-js-checkable-list-plugin","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/sugarshin/draft-js-checkable-list-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sugarshin%2Fdraft-js-checkable-list-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sugarshin%2Fdraft-js-checkable-list-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sugarshin%2Fdraft-js-checkable-list-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sugarshin%2Fdraft-js-checkable-list-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sugarshin","download_url":"https://codeload.github.com/sugarshin/draft-js-checkable-list-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sugarshin%2Fdraft-js-checkable-list-plugin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267419040,"owners_count":24084089,"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","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["draft-js","draft-js-plugins","react"],"created_at":"2024-12-06T17:12:53.499Z","updated_at":"2025-07-27T20:34:07.606Z","avatar_url":"https://github.com/sugarshin.png","language":"JavaScript","readme":"# draft-js-checkable-list-plugin\n\n[![CircleCI][circleci-image]][circleci-url]\n[![Coverage Status][coveralls-image]][coveralls-url]\n\n[![npm version][npm-image]][npm-url]\n[![License][license-image]][license-url]\n\nCheckable list item plugin for the [draft-js-plugins-editor](https://github.com/draft-js-plugins/draft-js-plugins) .\n\n```sh\nyarn add draft-js-checkable-list-plugin\n```\n\n[Live demo](https://sugarshin.github.io/draft-js-checkable-list-plugin/)\n\n## Usage\n\nExample\n\n```js\nimport React, { Component } from 'react'\nimport { EditorState } from 'draft-js'\nimport Editor from 'draft-js-plugins-editor'\nimport createCheckableListPlugin from 'draft-js-checkable-list-plugin'\nimport 'draft-js-checkable-list-plugin/lib/plugin.css'\n\nconst checkableListPlugin = createCheckableListPlugin()\nconst plugins = [checkableListPlugin]\n\nclass App extends Component {\n  state = { editorState: EditorState.createEmpty() }\n\n  onChange = editorState =\u003e this.setState({ editorState })\n\n  render() {\n    return (\n      \u003cdiv\u003e\n        \u003cEditor\n          editorState={this.state.editorState}\n          plugins={plugins}\n          onChange={this.onChange}\n        /\u003e\n      \u003c/div\u003e\n    )\n  }\n}\n```\n\n## License\n\n[MIT][license-url]\n\n© sugarshin\n\n[circleci-image]: https://circleci.com/gh/sugarshin/draft-js-checkable-list-plugin/tree/master.svg?style=svg\u0026circle-token=d416d2a32786c1e139bac37cf6864b310b1da172\n[circleci-url]: https://circleci.com/gh/sugarshin/draft-js-checkable-list-plugin/tree/master\n[coveralls-image]: https://coveralls.io/repos/github/sugarshin/draft-js-checkable-list-plugin/badge.svg?branch=master\n[coveralls-url]: https://coveralls.io/github/sugarshin/draft-js-checkable-list-plugin?branch=master\n[npm-image]: https://img.shields.io/npm/v/draft-js-checkable-list-plugin.svg?style=flat-square\n[npm-url]: https://www.npmjs.org/package/draft-js-checkable-list-plugin\n[license-image]: https://img.shields.io/:license-mit-blue.svg?style=flat-square\n[license-url]: https://sugarshin.mit-license.org/\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsugarshin%2Fdraft-js-checkable-list-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsugarshin%2Fdraft-js-checkable-list-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsugarshin%2Fdraft-js-checkable-list-plugin/lists"}