Docs improvement thread #5128
Replies: 8 comments 1 reply
-
I think we can add some minimal examples embeded inside the doc following the functions or modules to illustrate their feature or aim I like the documentation of Tiptap which is another open source rich text editor framework based on ProseMirror |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
The discrete property (which seems to commit the editor state immediately if set to true in the update method) should also be documented. Relevant discord discussion: https://discord.com/channels/953974421008293909/953974421486436393/1166712289353814117 |
Beta Was this translation helpful? Give feedback.
-
Looking at the quick start docs, it's not obvious that passing a function as a value of editorState is the best way to create editor state, if not loading existing EditorState from elsewhere. |
Beta Was this translation helpful? Give feedback.
-
I believe it would be helpful to include a dedicated page that features various Lexical-related resources, such as plugins and nodes developed by the community, as well as examples of projects. This would provide users with a convenient way to explore and utilize additional tools and practical applications. |
Beta Was this translation helpful? Give feedback.
-
I've noticed a time-related problem. Since the documentation is automatically generated by a tool, it's supposed to be updated at the same time as the code. However, there's a slight delay in the versions released on npm. As a result, a small issue arises where the newly added methods in the documentation cannot actually be used in the project. This is because the npm version hasn't been updated promptly. The latest available version is v0.12.2, which was released several months ago. In my opinion, the Lexical team should provide an experimental version to distinguish it from the stable version. Additionally, it would be helpful to clearly indicate the version number for each method in the documentation, so users know which version the method applies to. |
Beta Was this translation helpful? Give feedback.
-
When we set a |
Beta Was this translation helpful? Give feedback.
-
Lexical has provided some built-in COMMANDs, lots of them are linked to specific keyboard event (when key pressed by user, Lexical will dispatch some relative commands) We can guess which keys are relative to which commands by their name, but some COMMANDs name are not intuitive, like I think it will be better to add some explanation about their trigger key at documentation. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I want to propose to add the following list in docs:
A list of all methods and what are doing.A better way to find all functions. Personally, I didn't find what I needed until I started to click on every link.If somebody thinks that something should be added to docs, you can write in this thread.
Beta Was this translation helpful? Give feedback.
All reactions