{"id":19017014,"url":"https://github.com/alchaplinsky/outline-editor","last_synced_at":"2026-04-26T22:30:19.824Z","repository":{"id":44145044,"uuid":"183824628","full_name":"alchaplinsky/outline-editor","owner":"alchaplinsky","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-03T20:26:14.000Z","size":2302,"stargazers_count":0,"open_issues_count":12,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-01T23:27:42.143Z","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/alchaplinsky.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":"2019-04-27T21:48:27.000Z","updated_at":"2020-03-14T20:45:34.000Z","dependencies_parsed_at":"2023-02-01T09:45:17.377Z","dependency_job_id":null,"html_url":"https://github.com/alchaplinsky/outline-editor","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alchaplinsky%2Foutline-editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alchaplinsky%2Foutline-editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alchaplinsky%2Foutline-editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alchaplinsky%2Foutline-editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alchaplinsky","download_url":"https://codeload.github.com/alchaplinsky/outline-editor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240061136,"owners_count":19741967,"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-08T19:45:30.142Z","updated_at":"2026-04-26T22:30:19.754Z","avatar_url":"https://github.com/alchaplinsky.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"A React component for Outliner editor.\n\n**WARNING**: This package is still WIP\n\n## Getting Started\n\nClone repo: `git clone git@github.com:railsware/outliner.git`\n\nInstall via yarn: `yarn add file:[PATH_TO_OUTLINER]`.\n\nImport from `@railsware/outliner`.\n\n\n## Usage\n\nExample:\n\n```javascript\nimport Document from '@railsware/outliner'\nimport '@railsware/outliner/src/css/index.css'\n\nclass MyComponent extends React.Component {\n\n  constructor() {\n    super()\n    this.onChange = this.onChange.bind(this)\n  }\n\n  state = {\n    document: {\n      type: 'text',\n      value: 'This is a root node',\n      children: []\n    }\n  }\n\n  onChange(value) {\n    this.setState({\n      document\n    })\n  }\n\n  render() {\n    return \u003cDocument document={this.state.document} onChange={this.onChange} /\u003e\n  }\n}\n```\n\n## Props\n| Name            | Type                    | Description                                                 | Required  | Default                    |\n|-----------------|-------------------------|-------------------------------------------------------------|-----------|----------------------------|\n| onChange        | func                    | Passes document state when change is made                   | true      |                            |\n| document        | object                  | Document tree to render                                     | true      |                            |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falchaplinsky%2Foutline-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falchaplinsky%2Foutline-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falchaplinsky%2Foutline-editor/lists"}