Understand the Issue
Rich text fields (Polarion Text type) may lose formatting such as line breaks, bold text, lists, or other HTML styling when edited directly in the RISKSHEET grid. This occurs because the grid uses plain text input controls for cell editing, which cannot preserve rich text markup.Field Type Comparison
Rich Text vs. Plain Text:| Field Type | Polarion Type | Supports Formatting | Editable in RISKSHEET | Preserves Line Breaks |
|---|---|---|---|---|
| Rich Text | Text | Yes (HTML) | Limited | Lost on edit |
| Text | String | No | Yes | No (single line) |
| Multi-line Text | String | No | Yes | Yes (with multiLine) |
Identify Rich Text Columns
Check if your column is bound to a Polarion rich text field:- Open the work item in Polarion’s standard editor
- Right-click the field you want to verify
- Select Edit Field → Field Properties
- Check the Type field
Workaround Options
Option 1: Make the Column Read-Only
Prevent editing in RISKSHEET and require users to edit rich text fields in Polarion’s native editor:Option 2: Use Multi-Line Text Instead
If you do not need HTML formatting (bold, italic, lists), convert the Polarion field from Text to String type and configure the column for multi-line editing: Step 1: Change Polarion field type- Navigate to Administration → Work Items → Types
- Select the work item type (e.g., Risk, Requirement)
- Find the field and change Type from Text to String
- Save and restart Polarion
Option 3: Edit in Lightbox
Use the RISKSHEET lightbox editor for fields that require formatting:- Right-click the row containing the rich text field
- Select Open Row Item from the context menu
- The Polarion work item editor opens in a dialog
- Edit the field using Polarion’s rich text editor
- Save and close the dialog
Configure Lightbox Fields
Ensure rich text fields are included in the lightbox configuration:Visual Workflow
Display Rich Text Content
Even if editing is disabled, you can still display rich text content in the grid: Option A: Show plain text preview RICKSHEET automatically strips HTML tags for display:Verification Steps
After applying a workaround:- Open a RISKSHEET containing rich text fields
- Verify read-only columns show a lock icon or greyed-out appearance
- Attempt to edit a rich text cell (should be prevented if read-only)
- Right-click a row and select Open Row Item
- Edit the field in the Polarion editor
- Save and verify the RISKSHEET grid updates with formatted content preserved
See Also
- Work with Rich Text Fields
- Rich Text Fields Reference
- Lightbox Fields
- Cell Editing Issues
- Render Custom Data
Sources
Sources
Support TicketsSource Code
CellEditorFormatter.tsExportToExcel.tsGetSetUtil.javaCommentBasedReview.javaMultiItemLinkEditor.ts