Skip to content

Selecting quill-mention item not inserting into editor #25

@mkuhnwildfiredefense

Description

@mkuhnwildfiredefense

I've scoured the web for 2 days have not found a solution to this. It appears when quill-mention calls the editor's insertEmbed method, it is failing to make the connection to the editor to be able to call the method or something else funky is happening. All it inserts is a new empty paragraph below the paragraph where I've typed the @ symbol to trigger quill-mention:

react: 18.3.1
react-dom: 18.3.1
react-quill-new: 3.3.3
quill-mention: 6.0.2

https://github.com/quill-mention/quill-mention/blob/dd5e67c51217106d26f52a2b539fd197041e49f8/docs/quill.mention.js#L364

Image Image

I've tried:
Quill.register({ "blots/mention": MentionBlot, "modules/mention": Mention, "formats/mention": MentionBlot });

Any ideas why everything with quill-mention would work until it comes time to actually insert the html into the quill editor???

This has become a pretty big blocker after a recent release so any help is appreciated. Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions