github remirror/remirror prosemirror-suggest@1.0.0-next.31

pre-release22 months ago

Major Changes

  • e8458bc5 #623 Thanks @ifiokjr! - - πŸ’₯ Remove the keyBindings option and the keyboard handler.

    • πŸ’₯ Remove createCommand handler, since it's up to the developer to interpret the information that's been provided to them.
    • πŸ’₯ Remove the onCharacterPress keyboard handler.
    • πŸ’₯ Merge onExit functionality into the onChange method and split reason property into exitReason and changeReason only one of which can be defined.
    • πŸ’₯Remove a lot of type exports.
    • πŸ’₯Rename FromToEndParameter to RangeWithCursor and change the property name of to => cursor and end => to.
    • πŸ’₯Rename queryText => query and matchText => text in the onChange handler parameter.
    • πŸŽ‰ Allow the activation character to be RegExp.
    • πŸŽ‰ Add raw regex match to the onChange handler parameter.
    • πŸŽ‰ Add a priority property which allows suggesters to specify importance. Higher priority means being checked for a match first.
    • πŸŽ‰ Support invalid nodes and marks by name.
    • πŸŽ‰ Support valid nodes and marks by name.
    • πŸŽ‰ Allow whitespace in supportedCharacters.
    • πŸŽ‰ Support an isValidPosition handler which is a predicate that is run with the active resolved positioner on each suggester. It allows more advanced criteria for rejecting a suggester in the dom.

    See #548 for more details.

Don't miss a new remirror release

NewReleases is sending notifications on new releases.