资源
一些有助于使用 Slate 构建的资源。
库
这些库在使用 Slate 开发时非常有帮助:
is-hotkey
是一种检查指定键是否会触发onKeyDown
处理程序的简单方法,会自动处理 cmd 或者 ctrl 等键的跨平台问题。
扩展和插件
这些扩展和插件为 Slate 添加了额外的功能和能力:
- @liveblocks/yjs A fully-hosted WebSocket infrastructure and persisted data store for Yjs documents
- Plate 用于 Slate 和 React 的富文本编辑器插件系统
slate-angular
基于 Angular 的视图层,是 Slate 的有益补充,用于使用 Angular 构建富文本编辑器。slate-yjs
Collaborative editing utilities for Slate leveraging Yjsslate-collaborative
Collaborative editing utilities for Slate leveraging Automerge
产品
These products use Slate, and can give you an idea of what's possible:
- Aline: Digital contracting for the modern enterprise
- Archbee: Build better product docs with your team
- Campfire: The most versatile writing software [for fiction]
- Chatterbug: Learn languages from real people
- CoCalc: Collaborative calculation and data science
- Coda: Coda brings all your words, data, and teamwork into one powerful doc
- Dropdeck: Magically create beautiful slides — faster than ever
- Eraser: The Whiteboard for Engineering Teams
- GitBook: Plan, centralize and share knowledge
- Discord: Text & voice channels to collaborate & share
- Grafana: Operational dashboards for your data
- Guilded: Better chat, happier communities
- Guru: Organize company information. Access it anywhere. [wiki]
- Hygraph: The federated content platform
- Kitemaker: Product development tool built to manage the work, not the workers
- Living Spec: A modern way for product teams to work
- Netlify CMS: Open source content management for your Git workflow
- Notes Together: Get mundane details out of your head
- Prezly: Turn your audience into fans
- Quill Forms: Open Source Typeform Alternative WordPress Plugin
- Sana: Reimagining learning with AI [LMS]
- Sanity.io: Platform for structured content [data driven content]
- Slite: Where remote teams make decisions and share knowledge
- Static CMS: Git-based CMS for Static Site Generators
- Taskade: Get work done in one unified workspace
- TRPG Engine
- Thoughts
编辑器
These pre-packaged editors are built on top of Slate, and can be helpful to see how you might structure your code:
- Accord Project Markdown Editor 是 CommonMark 所见即所得编辑器。
- Canner Editor 是富文本编辑器。
- Chatterslate helps teach language grammar and more at Chatterbug.
- CoCalc 是云上的协作计算编辑器。
- French Press Editor is a customizeable editor with offline support.
- Nossas Editor 可内嵌的所见即所得编辑器。
- React Force Slate Editor is a light-weight medium-style editor with no editor chrome.
- React Page 是独立可定制的内联所见即所得的编辑器库。
- Plate (Plugins for Slate) 提供了可配置和可扩展插件的编辑器。
- Tripdocs: It's a modern, production-ready rich text editor.
(Or, if you have their exact use case, can be a drop-in editor for you.)