Skip to main content
Note: Images in the Rich Media Display component currently do not support access in “silent login mode”. To use images in a shared URL, upload them to another image hosting service first. This feature is on YiDA’s product roadmap. Stay tuned for updates.

1. Introduction

1.1 Component Overview

A premium text component that allows independent configuration of text styles.

1.2 Use Cases

Use this component in scenarios such as product display, expense reimbursement, and corporate culture.

2. Basic Features

2.1 Configure Premium Content

Click Configure premium content to open the Rich Text editor. The editor is identical to the Rich Text component and consistent with the DingTalk Docs editor. Customize text and styles, upload images, and more. Configure text content.

2.2 Mobile-Side Settings

2.2.1 Set the Left and Right Margin Size

  • No margin
  • 16px

2.2.2 Page Collapse Settings

  • Collapsible: Whether the page can be collapsed when a maximum height is set.
  • Collapse height: When the content exceeds this height, the page can be collapsed.
  • Initially collapsed: Whether the page is collapsed on initialization (when the page opens).
Example: With the settings shown above, the page is collapsed when opened on a mobile device. Tap the dropdown button to expand the full page. Result:

2.3 Style Settings

Configure display settings for the entire page, such as margins. Configure styles. Note: The Rich Media Display component is unique because it contains Rich Text. Whenever possible, configure text-related styles in the Rich Text editor. Some attributes in the style designer have lower priority than the style configuration in the Rich Text editor (such as font size and color). Reference: Style overview