ueberdosis/tiptap
Vedi su GitHub[Documentation]: NodePos method name setAttribute is misspelled as setAttributes
Open
#4956 aperta il 8 mar 2024
area: docscomplexity: trivialgood first issueimpact: low
Metriche repository
- Star
- (23.454 star)
- Metriche merge PR
- (Merge medio 4g 13h) (46 PR mergiate in 30 g)
Descrizione
What’s the URL to the page you’re sending feedback for?
https://tiptap.dev/docs/editor/api/nodepos#set-attributes
What part of the documentation needs improvement?
Spell error。
What is helpful about that part?
Documentation should be consistent with code
What is hard to understand, missing or misleading?
The method name should be setAttribute.
Or maybe we should change the method name in the code? To be consistent with other API styles, such as updateAttributes.
Anything to add? (optional)
No response