Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    RichTextItem missing bullet and strike through option

    Hi Support Team,

    How should I get back bullet and strike through options. Those are missing in 14.0. Some of our customer are complaining about about missing features.

    Thanks,Hi Support Team,

    How can I restore the bullet and strikethrough options? These features appear to be missing in version 14.0, and some of our customers have reported concerns about their absence.

    Could you please advise whether these features can be re-enabled or if there is an alternative solution?

    Thanks,
    Revan
    Attached Files

    #2
    Thanks for the report.

    Nothing was removed in 14.0 - the bullet/list controls and strikethrough have never been shown in the default RichTextItem toolbar, in 14.0 or any earlier version. Both are built-in controls that are off by default; you enable them via controlGroups and styleControls.

    Bullet/list controls are a standard control group -- add "bulletControls" to controlGroups:

    Code:
    RichTextItem item = new RichTextItem("content");
    item.setControlGroups("fontControls", "formatControls", "styleControls",
                            "colorControls", "bulletControls");
    That adds indent/outdent, ordered list, unordered (bullet) list, and list properties.

    Strikethrough is built in as well, but RichTextItem has no setStyleControls() and there is currently no ControlName enum value for it, so set the styleControls group as an attribute, including "strikethroughSelection":

    Code:
    item.setAttribute("styleControls", new String[] {
          "boldSelection", "italicSelection", "underlineSelection",
          "strikethroughSelection" });
    We'll add a ControlName value for strikethroughSelection so it can be specified in the typed way like the other style controls; we'll update here when that's in.
    Last edited by Isomorphic; 20 Jun 2026, 06:56.

    Comment

    Working...
    X