Minor Changes
b030cb6e
#728 Thanks @ifiokjr! - Addtext
property to the return value fromgetMarkRange
. It's a common use case when getting the range of the mark to also extract the text content.
Minor Changes
-
a02dd7d1
#730 Thanks @ronnyroeller! - Support forcefully redrawing annotationsAnnotations can be styled with a custom
getStyle
function. Yet, changes to outcome of the function (e.g. when the color schema is dynamically updated) won't automatically reflect in the editor.
commands.redrawAnnotations
can now be called to force an update.
Patch Changes
-
b674f906
#729 Thanks @ifiokjr! - Make annotation commands chainable. -
bdea98bf
#725 Thanks @ronnyroeller! - Fix: Don't extend annotation when typing at end of annotationAnnotations auto-adjust as users enter content, e.g. an annotation grows if the user types in the middle of the annotation. Incorrectly, the annotation also grew when the user added content directly after the annotation. Now, this leads to new, non-annotated content.
-
b674f906
#729 Thanks @ifiokjr! - MakeformatCodeBlock
command chainable. -
Updated dependencies [
b674f906
,a02dd7d1
,b674f906
,b674f906
,bdea98bf
,b030cb6e
]