ueberdosis/tiptap
View on GitHub[Documentation]: NodePos method name setAttribute is misspelled as setAttributes
Open
#4,956 opened on Mar 8, 2024
area: docscomplexity: trivialgood first issueimpact: low
Repository metrics
- Stars
- (23,454 stars)
- PR merge metrics
- (Avg merge 4d 13h) (46 merged PRs in 30d)
Description
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