Skip to content

Auto complete plugin? #2399

@cnicodeme

Description

@cnicodeme

What problem are you facing?

I'd like to implement an auto complete (suggestion that are written if you hit ) on the editor.

What’s the solution you would like to see?

A plugin that takes a function as input that contains the current line, and returns either nothing, or a string being the suggestion to apply. This suggestion will be shown in the editor with a lower opacity to represent the suggestion, and a hit to on the keyboard will apply that suggestion.

What alternatives did you consider?

None. I tried to search on the Issues here at Github, and on the list of extension on tiptap.dev, but didn't find nothing.
The suggestion extension would come close, but isn't appropriate.

Anything to add? (optional)

No response

Are you sponsoring us?

  • Yes, I’m a sponsor. 💖

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions