Join the Webstudio community

Updated 4 weeks ago

Adding static text before Expression editor

New to expression editor. How can we add some static text before the dynamic value in expression editor (For example: Published on)
Attachment
image.png
1
B
m
J
5 comments
Plain Text
`Example Text ${PostData.data.data.post.date}`
@John Siciliano, I was reading the docs and see that the backticks didn't get added into the statement. Maybe that's a limitation of gitbook? But if they could be added, it might be helpful in this situation.

https://docs.webstudio.is/university/foundations/expression-editor#expressions
Attachment
CleanShot_2024-11-05_at_13.39.252x.png
Thanks! Fixed
Attachment
image.png
Add a reply
Sign up and join the conversation on Discord