Confirmed Rich text editor repeatedly adds empty HEADING tags

Painbaker

Well-known member
Licensed customer
Affected version
2.3.13
When editing a message containing a centered / colored heading, the rich text editor corrupts the BB code on repeated edits or when switching between the rich text and BB code modes.

The editor repeatedly adds empty HEADING tags after the original heading

The number of redundant tags increases each editor processing

Example of the BB code:


Code:
[HEADING=2][COLOR=rgb(44, 130, 201)][CENTER]Text[/CENTER][/COLOR][/HEADING]

Produces:

Code:
[HEADING=2][COLOR=rgb(44, 130, 201)][CENTER]Text[/CENTER][/COLOR][/HEADING]
[HEADING=2][/HEADING]
[HEADING=2][/HEADING]
[HEADING=2][/HEADING]

Steps to reproduce:

  1. Create or edit a message using the similar BB codes
  2. Switch from BB code mode to the rich text editor
  3. Switch back to BB code mode, or save and edit the message again
  4. Repeat the process several times
  5. Observe the additional nested COLOR tags and empty HEADING tags
 
Last edited:
Back
Top Bottom