You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
According to the definition of RichTextItemRequest, can I update other parts of RichText, such as regular Text, without mentioning part of the RichText in the block as a temporarily unsupported type such as link-preview and removing this unsupported type? To Reproduce
Node version: v20.12.0
Notion JS library version: v2.2.15
Steps to reproduce the behavior:
Attempt to update a block containing RichText, such as paragraph, and it has normal text and a link preview of type mention, only modify the text content of normal text, nothing else changes
Expected behavior
Update other parts of RichText if the RichText in the block mentions a temporarily unsupported type such as link-preview and does not remove this unsupported type
Screenshots
Additional context
If you're having problems using Notion's API, or have any other feedback about the API including feature requests for the JavaScript library, please email support at [email protected].
I saw this part of the content. If the API supports this kind of mention, it will definitely be fine, but I don't want to create or update unsupported mentions, and I think partial updates should be possible, such as using empty objects or Null for RichText data elements that do not need to be updated, but I don't find any similar methods for partial updates in the documentation
The text was updated successfully, but these errors were encountered:
Describe the bug
According to the definition of RichTextItemRequest, can I update other parts of RichText, such as regular Text, without mentioning part of the RichText in the block as a temporarily unsupported type such as link-preview and removing this unsupported type?
To Reproduce
Node version: v20.12.0
Notion JS library version: v2.2.15
Steps to reproduce the behavior:
Attempt to update a block containing RichText, such as paragraph, and it has normal text and a link preview of type mention, only modify the text content of normal text, nothing else changes
Expected behavior
Update other parts of RichText if the RichText in the block mentions a temporarily unsupported type such as link-preview and does not remove this unsupported type
Screenshots
Additional context
I saw this part of the content. If the API supports this kind of mention, it will definitely be fine, but I don't want to create or update unsupported mentions, and I think partial updates should be possible, such as using empty objects or Null for RichText data elements that do not need to be updated, but I don't find any similar methods for partial updates in the documentation
The text was updated successfully, but these errors were encountered: