Default Italic fonts for placeholder text in forum Q & A template

What I’m trying to do:

What I’ve tried and what’s not working:

It is very minor suggestion:(If possible) Instead of normal font, placeholder sentences/font (as above lines) should be Italic so that reader can easily identify text breaks.
User text is fine as Normal (or as per user choice).

1 Like

You could always achieve this by setting the italics property programmatically on a change event. I imagine you could even build this code in to a custom component or better yet use a role.

Do you have a particular component in mind?

I linked question in wrong forum, Instead it should be on Feature suggestion. for Anvil default configuration.

1 Like

This probably won’t end up being the default for anvil but it’ll be easy to implement yourself.

Here’s a stackoverflow answer that you can paste into your theme.css and it should just work.

1 Like

@janjari, were you talking about placeholder text in app components or on the forum? I was interpreting your parenthetical, “(as above lines),” to mean that you were proposing the default Forum Q&A post be something like this, below (where I’ve implemented bold-face rather than italics, to parallel the Job Advert template):

What I’m trying to do:

What I’ve tried and what’s not working:

Code Sample:

# code snippet

Clone link:
share a copy of your app

I think it might also be helpful to remove some of the extra lines in that template, which seem to cause some posters not to see the parts at the bottom and leave them in by mistake.

2 Likes
  • In the forum. Not in app component.
1 Like

Good shout. That’s done. I’ve also tweaked the code snippets section which (fingers :crossed_fingers:) might help new users who often paste their code without formatting it.

5 Likes