Skip to content

[Feature Request] Autocomplete for available tokens #9

@amcdnl

Description

@amcdnl

Feature Request

First off, love the project. Been looking for something like this for a while now.

One thing I've been playing with is the ability to add autocomplete for the available tokens the user could insert.

Implementation

I was thinking it might be possible to do something like DraftJS Mention's plugin does: https://www.draft-js-plugins.com/plugin/mention.

Considerations

I'm unsure how one would trigger the suggestions since {{ is a pretty complex situation. One thing that might be better is a + button or a command like CTRL+SPACE to trigger the menu and then it would add the brackets on insertion?.

Microsoft Flows has a button to (this uses draftjs w/ tokens btw) add the token.

2020-01-07_10-38-22

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