Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Text as code in the UXP plugin panel

New Here ,
Nov 23, 2023 Nov 23, 2023

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>
TOPICS
How to , UXP Scripting
411
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 23, 2023 Nov 23, 2023

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 23, 2023 Nov 23, 2023

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.

Screenshot 2023-11-23 132959.png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 23, 2023 Nov 23, 2023
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines