Skip to content

Add possibility to specify javascript code for mention plugin config #298

@merwok

Description

@merwok

Hello! Thanks for publishing and maintaining this module!

Mention plugin was added in #131 but we can only configure a static list of matches in our settings, which are then dumped with json_script template filter and loaded by the js app using JSON.parse.

A static list has limited utility. The plugin can take a javascript callback, which could then call a view to get matches (docs).

Another feature requiring code is the customization of the output.

Could you add a mechanism to let us specify callbacks for this plugin?

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