Start a conversation

Bold Text Cannot Be Centered in the Editor

Overview

When creating or editing posts and articles in Khoros Aurora, users may experience an issue where attempting to center bold text using the text alignment button in the rich text editor has no visible effect. The text remains left-aligned despite the center alignment button being clicked.

Symptoms:

  • Bold text does not center when using the center alignment button in the editor toolbar
  • The issue occurs with text formatted using the Bold button or keyboard shortcut (Ctrl+B / Cmd+B)
  • Other alignment options (left, right, justify) may also fail to apply to bold text
  • Plain (non-bold) text centers correctly without any issues
Note: This issue has been resolved in Khoros Aurora version 25.11 and later. If you're experiencing this problem, please check your community version or contact support for upgrade information.

Solution

This issue occurred because the editor incorrectly applied the alignment CSS class (lia-align-center) to the inline <strong> HTML tag instead of the parent block-level <p> tag. The problem has been fixed in version 25.11 of Khoros Aurora.

Step 1: Verify Your Community Version

  1. Check which version of Khoros Aurora your community is running
  2. If you're on version 25.11 or later, the issue should already be resolved
  3. If you're on an earlier version, proceed to the workaround steps below or contact support to schedule an upgrade

Step 2: Apply the Workaround (For Earlier Versions)

If you're on a version earlier than 25.11 and need to center bold text immediately, use one of these workarounds:

Option A: Reorder the Formatting

  1. Remove the bold formatting from your text by selecting it and clicking the Bold button (or pressing Ctrl+B / Cmd+B)
  2. With the text still selected, click the Center alignment button in the toolbar
  3. Verify the text is now centered
  4. Select the centered text again and reapply the bold formatting
  5. The text should now be both centered and bold

Option B: Manually Edit the HTML (Advanced Users)

  1. Switch to HTML view in the editor (usually available via a source/HTML button in the toolbar)
  2. Locate the <strong> tag containing your bold text
  3. If the class="lia-align-center" attribute is on the <strong> tag, remove it
  4. Add class="lia-align-center" to the parent <p> tag instead
  5. Switch back to visual editor mode and verify the text is properly centered
Important: The HTML editing workaround requires familiarity with HTML markup. If you're not comfortable editing HTML directly, we recommend using Option A or contacting support for assistance.

Step 3: Request a Community Upgrade (Permanent fix)

  1. If your community is not on automatic upgrades and you're experiencing this issue, proceed with the steps from How to Manage Instance Upgrade Settings with the AI assistant to request a one-time upgrade to the latest version
Tip: After upgrading to version 25.11 or later, any previously affected content can be edited normally - simply select the text and reapply the center alignment using the toolbar button.

Summary

The inability to center bold text in Khoros Aurora was caused by the editor applying alignment classes to inline formatting elements rather than block-level elements. This issue affected communities running versions prior to 25.11. Users on earlier versions can work around the issue by either removing bold formatting before centering (then reapplying it) or by manually editing the HTML. The issue has been permanently resolved in version 25.11 and later through an update to the editor's alignment functionality.

FAQ

Q1: Does this issue affect other text formatting options besides bold?

A1: Yes, this issue could potentially affect other inline formatting such as italic or underline when combined with text alignment. The same workarounds apply - remove the inline formatting, apply the alignment, then reapply the formatting. Version 25.11 resolves this for all inline formatting combinations.

Q2: Will existing posts with misaligned bold text be automatically fixed after upgrading?

A2: Existing posts will retain their current formatting after the upgrade. However, once you're on version 25.11 or later, you can easily fix any previously affected posts by editing them and reapplying the center alignment using the toolbar button. The editor will now correctly apply the alignment to the paragraph level.

Q3: Can I apply multiple alignments (left, center, right, justify) to different bold text in the same paragraph?

A3: No, text alignment in HTML is a block-level property that applies to entire paragraphs, not individual words or phrases. Each paragraph can only have one alignment setting. To have different alignments, you need to create separate paragraphs for each alignment style.
Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Ciprian Nastase

  2. Posted

Comments