{"id":16091041,"url":"https://github.com/palerdot/react-slite","last_synced_at":"2026-03-06T16:34:57.153Z","repository":{"id":43212128,"uuid":"464102021","full_name":"palerdot/react-slite","owner":"palerdot","description":"Slack inspired text editing. Thin wrapper around lexical.dev","archived":false,"fork":false,"pushed_at":"2025-11-07T06:07:26.000Z","size":951,"stargazers_count":10,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-07T07:19:26.441Z","etag":null,"topics":["editor-plugin","react","typescript"],"latest_commit_sha":null,"homepage":"","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/palerdot.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-02-27T10:18:46.000Z","updated_at":"2025-11-07T06:07:29.000Z","dependencies_parsed_at":"2025-06-23T00:39:25.316Z","dependency_job_id":"8169ea8d-4f78-42e3-aa03-522ee5ee23e2","html_url":"https://github.com/palerdot/react-slite","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/palerdot/react-slite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palerdot%2Freact-slite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palerdot%2Freact-slite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palerdot%2Freact-slite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palerdot%2Freact-slite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/palerdot","download_url":"https://codeload.github.com/palerdot/react-slite/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palerdot%2Freact-slite/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30185563,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T14:42:24.748Z","status":"ssl_error","status_checked_at":"2026-03-06T14:42:14.925Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["editor-plugin","react","typescript"],"created_at":"2024-10-09T15:08:30.334Z","updated_at":"2026-03-06T16:34:52.144Z","avatar_url":"https://github.com/palerdot.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## react-slite\n\n\u003e `SL`ack `I`nspired `T`ext `E`diting\n\nThis react component **aims** to provide a slack like rich text editing experience powered by [lexical library](https://lexical.dev). This project is currently in alpha stage and used internally for [Remindoro extension](https://palerdot.in/remindoro).\n\nNOTE: Starting `v0.2.0`, `react-slite` is powered by [lexical](https://github.com/facebook/lexical). Right now, it is just a thin wrapper around vanilla lexical functionality. As lexical becomes more stable and moves towards `v1.x`, this library will become more feature complete. Till then, apis are subject to change.\n\n### Usage\n\n```javascript\nimport Slite, { Toolbar, Editor, SliteProps, ThemeClassList, SLITE_EDITOR_CONTAINER_CLASS } from '../index'\n\nfunction SliteWrapper({ initialValue, onChange, readOnly }: SliteProps) {\n  return (\n    \u003cSlite\n      initialValue={`your initial markdown string`}\n      onChange={(currentMarkdown) =\u003e {}}\n      readOnly={false}\n    \u003e\n      {/* decide if and how you want to display the toolbar */}\n      {!readOnly \u0026\u0026 \u003cToolbar /\u003e}\n      {/* editor text area */}\n      \u003cEditor readOnly={readOnly} /\u003e\n    \u003c/Slite\u003e\n  )\n}\n\n// ThemeClassList has all the classes used within the rich text editor\n// SLITE_EDITOR_CONTAINER_CLASS exports the container class name, which is `slite-container`\n// With this info, theming can be done via classes\n```\nFor more examples, please run `pnpm run storybook` in the repo.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpalerdot%2Freact-slite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpalerdot%2Freact-slite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpalerdot%2Freact-slite/lists"}