Constellation RTE — Expose Inline Styling Toolbar for the preloaded Template Content modification.
Priority: Medium
Current Behavior (Problem Statement)
When a background process fetches the template associated to a selected letter (stored as a Paragraph rule) and loads it into the Constellation RTE for display or editing, below issues occur:
- When the Constellation RTE is bound to a pre-populated string property containing the letter template, the editor does not expose standard text formatting controls — bold, italic, underline, font size, text color, alignment — in the toolbar. Privileged users editing the template cannot apply or modify styling to any portion of the letter content, including segments that were originally authored with specific formatting.
Business Impact
The requirement is to display the pre-authored letter template to end users with property references resolved, and to allow privileged users to edit the template — including modifying text formatting across the body of the letter. Both aspects of this requirement are currently blocked:
Expected / Requested Behavior
-
Inline styling toolbar for template content: When the Constellation RTE is bound to an existing string property or loaded with HTML-formatted letter template content, expose standard text formatting options — bold, italic, underline, font size, text color, text alignment, and lists — so privileged users can apply and modify styling to any portion of the template body, including dynamically loaded segments.
-
Style injection suppression on load: When the template content is fetched by the background process and loaded into the RTE from an external source (e.g., a Paragraph rule or pre-populated property), the editor engine should not inject additional wrapper styles that modify the original HTML. A clean load mode or a passthrough option for externally sourced HTML content would address this.
Supporting Context
-
Workaround in place: Copy the content into an external editor apply styling options there and copy back to RTE. This workaround does not address the editing experience for privileged users, and the style injection behavior still affects template fidelity on load.
-
This request is scoped exclusively to styling controls and style fidelity for pre-authored template content.
Acceptance Criteria
-
[ ] A privileged user can apply bold, italic, font size, text color, and alignment styling to selected text within the RTE, including text that was pre-loaded from the letter template stored as a Paragraph rule or string property.
-
[ ] HTML content loaded into the RTE from the background process (Paragraph rule or pre-populated property) is not modified by additional editor-injected styles — the original template formatting is preserved on load.
-
[ ] Styling controls are available in the RTE toolbar when the component source is bound to a pre-populated string property containing letter template content.
