Edit in GitHubLog an issue

Unsupported Elements

Only elements found in the surrounding documentation are supported. Unsupported elements such as <li>, <ul>, etc., are treated as simple <div>s. As such, this does mean that you can often style unsupported elements in a way that more closely matches their browser counterparts.

Typography

Several tags such as <i> are not supported. However, you can easily add some CSS in order to support their visual appearance:

Copied to your clipboard
1i, em { font-style: italic; }
2strong { font-weight: bold; }
3q:before { content: '“'; }
4q:after { content: '”'; }
5blockquote { margin: 1em; }
6pre { white-space: pre; }
7code { font-family: Courier; }

Unordered Lists

UXP does not, by default, support lists or list items. However, you can simulate an unordered list with bullets with some simple CSS.

Copied to your clipboard
1ul {
2 margin-left: 1em;
3}
4li:before {
5 content: '•';
6 display: inline-block;
7 text-align: center;
8 margin-left: -1em;
9 width: 1em;
10}

Ordered Lists

UXP does not support ordered lists (<ol>). You can work around this by manually creating the numbered elements for each item.

Title

The <title> element is not used in UXP. If you do specify it, you may find that it makes itself visible inside your plugin. To remedy this, add the following CSS to your project:

Copied to your clipboard
1title {
2 display: none;
3}
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2023 Adobe. All rights reserved.