on Content Selection Change
open fun onContentSelectionChange(contentId: UUID, selStart: Int, selEnd: Int, styleInfo: StyleInfo, styleWasChanged: Boolean)
Called when the cursor position/selection has changed Mainly used to update the content editing toolbar to show the proper text style for the current cursor position.
Parameters
content Id
id of the content block
style Info
style info of the content block
sel Start
start position of the selection
sel End
end position of the selection, also the cursor position