@liveblocks/yjs
Advanced tools
Changelog
v1.9.0
@liveblocks/node
createThread
, editThreadMetadata
, createComment
, editComment
,
deleteComment
, addCommentReaction
, and removeCommentReaction
methods)getActiveUsers
to match the data returned from the
endpoint.@liveblocks/react
query
option to useThreads
to filter threads based on their metadata.@liveblocks/react-comments
ComposerSuggestions
.Changelog
v1.8.2
@liveblocks/react
@liveblocks/client
CommentBody
utilities added to @liveblocks/node
in v1.8.0.@liveblocks/node
. (added IUserInfo
and
PlainLsonObject
)@liveblocks/node
@liveblocks/client
. (added CommentBody
,
CommentBodyBlockElement
, CommentBodyElement
, CommentBodyInlineElement
,
CommentBodyLink
, CommentBodyMention
, CommentBodyParagraph
,
CommentBodyText
, JsonArray
, JsonScalar
, Lson
, LsonObject
, and
User
)Changelog
v1.8.1
toPlainLson
helperChangelog
v1.8.0
This release adds all the REST APIs as fully typed methods, and utilities to
transform comments, to @liveblocks/node
.
@liveblocks/node
Liveblocks
client. See
docs.CommentBody
format from Comments:
getMentionedIdsFromCommentBody(body)
- Get a list of all mentioned IDs
from a CommentBody
. See
docs.stringifyCommentBody(body, options)
- Convert a CommentBody
to a string,
either as plain text, HTML, or Markdown. It supports resolving mention IDs
similarly to @liveblocks/react
and overriding each element to control the
formatting. See
docs.Changelog
1.7.1
@liveblocks/react-comments
Composer
focus issues.