Skip to content

Minimessage Web Editor Support #48

@Silthus

Description

@Silthus

okay, all of the API endpoints which accept json input can also take a placeholders field, like {"miniMessage": "...", "placeholders": {...} }
the actually contents of this placeholders object are three fields, stringPlaceholders, componentPlaceholders and miniMessagePlaceholders. All three are just key-value maps.
Note that componentPlaceholders are directly as a json object, while the others are strings ({"componentPlaceholders": {"text": "something", "color": "red"}, "miniMessagePlaceholders": "accepts tags!"})
miniMessagePlaceholders are parsed into components by the server

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions