Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

Can dcc.Textarea or html.Textarea support css style text?

$
0
0

Can Textarea support css style text?
For example, if my str output to Textarea :

str = '<h1 style="color:blue;">This is a heading</h1>'

Currently it will print the whole string directly, but what I want is a colored text, is it possible?

I know that I can set
style={'color': 'blue''} in dcc.Tetxtarea or html.Textarea, but I don’t want every string in Textarea are in the same color, so this

Add argument “style” in Textarea

solution might not suitable for me.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 6271

Trending Articles