What does "PLUGINS.basicNodes" stands for? #1541
-
ProblemSometimes I spent extra time to recognise some values.
Nonetheless, I always forgot what they would be. It makes hard me to make custom plugins sometimes. Suggestion
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
In the same page there is a section "Source code" with "Variables" link that contains all of these. There is also a section describing what it stands for in platejs.org "For readability, we're storing common constants in CONFIG, VALUES,... See all the imported variables." But that's definitely not the best solution, thanks for highlighting the problem. We're making a tradeoff to have more readability. |
Beta Was this translation helpful? Give feedback.
In the same page there is a section "Source code" with "Variables" link that contains all of these. There is also a section describing what it stands for in platejs.org "For readability, we're storing common constants in CONFIG, VALUES,... See all the imported variables."
But that's definitely not the best solution, thanks for highlighting the problem. We're making a tradeoff to have more readability.