Complete Docs #2201
Replies: 3 comments 4 replies
-
Adding more content to the docs sounds like a great idea! 😃 One of the things I struggle with most when working with Plate is not knowing what helper functions are available for me to import and use. Since every function used by every plugin is exported from Plate, there's a lot of clutter on the API reference, making it hard to spot the really useful functions like I took a look at the last five pages of Discussions and made a note of which topics were asked about frequently. Here's what I found:
Accessing the It would also be helpful to have guides for common patterns, like running a callback (that has access to the As one user noted, the large number of source files used in each of the current examples makes it hard to figure out what's special about that example in particular. Highlighting this information in the text would help to mitigate this problem. E.g. "In this example, the rules defined in |
Beta Was this translation helpful? Give feedback.
-
I found this cheatsheet pinned in the Slate Slack. Updating it for Plate and adding it to the docs might be a good idea. |
Beta Was this translation helpful? Give feedback.
-
I'll close this one as completed. See the new docs in https://platejs.org/. |
Beta Was this translation helpful? Give feedback.
-
The docs have been concise and straightforward for easy maintenance. @TomMorane will help to rewrite the docs so it's more prose and complete.
This includes:
Guides:
Core:
For each plugin:
createBlockquotePlugin()
) queries, transformshotkey
,key
, default options, etc.Plugin Sections:
@12joan I'd love your feedback on what you'd like to see as improvement and additions, per page or new pages.
Beta Was this translation helpful? Give feedback.
All reactions