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

Text as code in the UXP plugin panel

New Here ,
Nov 23, 2023 Nov 23, 2023

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>
TOPICS
How to , UXP Scripting

Views

108

Translate

Translate

Report

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

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

Votes

Translate

Translate

Report

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

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.

Screenshot 2023-11-23 132959.png

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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