You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 ?
This discussion was converted from issue #1610 on February 17, 2022 14:01.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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 !
Beta Was this translation helpful? Give feedback.
All reactions