@bangle.dev/pm-commands
Advanced tools
Changelog
0.31.6
@bangle.dev/markdown
updated the inlineNodeParser
's parameter getTokenDetails
to provide extra information in the callback and you can return in the callback whether a white space needs to be added before or after.inlineNodeParser(md, {
tokenName: 'note_tag',
regex: MARKDOWN_REGEX,
// new parameters `offset` and `srcText`
getTokenDetails: (match, offset, srcText) => {
// use extra information to return the token details
return {
payload: string;
markup: string;
// Tell whether to insert a space before this token
whiteSpaceBefore?: boolean;
// Tell whether to insert a space after this token
whiteSpaceAfter?: boolean;
}
}
});
Changelog
0.31.3
@bangle.dev/collab-manager
allows you to manually request (use collabManager.requestDeleteInstance(...)
) deletion of an instance to save memory.Changelog
0.31.2
@bangle.dev/collab-manager
added two classes bangle-collab-active
and bangle-collab-frozen
on editor to indicate whether the editor is active or frozen to reflect the collaboration state.Changelog
0.31.0
@bangle.dev/collab-client
has been rewritten. Docs are still WIP.@bangle.dev/collab-comms
for communicating between collab-manager and collab-client. Docs are still WIP.@bangle.dev/collab-manager
for managing collab-client. Docs are still WIP.@bangle.dev/disk
and @bangle.dev/collab-server
have been archived.