New Features
-
1adea88a
#801 Thanks @ifiokjr! - Add new primitive commands toCommandsExtension
.setBlockNodeType
toggleWrappingNode
toggleBlockNodeItem
wrapInNode
removeMark
-
ee1ab4f3
#805 Thanks @ifiokjr! - AddGetMarkRange
interface to exports from@remirror/core-utils
. -
1adea88a
#801 Thanks @ifiokjr! - Improve type signatures of command utility functions to also include an optional range. -
4bdcac77
#805 Thanks @ifiokjr! - Addclick
andclickMark
handlers to theEventsExtension
. These new events are available to hooks created withuseExtension(EventsExtension)
and also exposed via the newcreateEventHandlers
extension method. These methods provides utilities for determining whether the position clicked was within a specific node or mark. -
b65ea785
#805 Thanks @ifiokjr! - AddonClick
handler toLinkExtension
which is called with theevent: MouseEvent
anddata: LinkClickData
which includes thehref
and all theGetMarkRange
properties.Export extra types from the
@remirror/extension-link
package.LinkAttributes
LinkClickData
DefaultProtocol
-
3ee20d40
#805 Thanks @ifiokjr! - AddonClick
handler toMentionExtension
which is called withevent: MouseEvent
andmarkRange: GetMarkRange
. -
c2268721
#805 Thanks @ifiokjr! - AddonClick
handler toMentionAtomExtension
which is called with theevent: MouseEvent
andnodeWithPosition: NodeWithPosition
.