Skip to content

Is it possible to add a style based on a defined template #1610

@Jimmylet

Description

@Jimmylet

Question

I would like my users to be able to add "variables" to their projects. The variables would be represented in the editor like this:

Hello {{name}}, how are you?

I would like to be able to automatically style these variables (ex: add a background). What is the technique to identify with Editorjs all "{{var}}" elements and automatically style them ?

Thank you !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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