ueberdosis/tiptap

[Documentation]: NodePos method name setAttribute is misspelled as setAttributes

Open

#4,956 建立於 2024年3月8日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)TypeScript (1,979 fork)batch import
area: docscomplexity: trivialgood first issueimpact: low

倉庫指標

Star
 (23,454 star)
PR 合併指標
 (平均合併 4天 13小時) (30 天內合併 46 個 PR)

描述

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

貢獻者指南