Copy link to clipboard
Copied
Hi all!
Is it possible to write text as code in the UXP plugin panel?
For example:
https://www.google.com
or
<pre>
<code>
Hello World!
</code>
</pre>
Copy link to clipboard
Copied
I'm pretty sure it would be the same way you would do it in html. Using CSS for example. Is it not working the way you expect? - Mark
Copy link to clipboard
Copied
Thank you for your advice! Design using css may be a good option, but unfortunately it is not possible to change the standard font; it looks the same as other text on the panel.
Copy link to clipboard
Copied
Hi @AntonN, unfortunately I'm not experienced with UXP plugin panels, so I don't have an answer. I assumed you would be able to use CSS to style the elements. Now, looking at your screenshot, I wonder if you are using pre-built controls that might not allow overriding the styling. Sorry, I'm out of my depth. Hopefully someone with knowledge will answer soon.
- Mark