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 !
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 !