Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.0.0 M3
-
6.2.x
-
Committed
-
3
Description
- Start Portal and navigate to Admin > Content > Message Boards and click the Configuration cog icon
- Set the Message Format drop down to HTML
- Close configuration and either navigate to a page with message boards portlet or post a new thread in the control panel
- Click Source in the CKEditor and add HTML code to the editor
- Publish your new thread or switch out of Source mode in the CKEditor
Expected result:
Preview in CKEditor and published message board post should correctly display what is defined in the Source (without showing the actual HTML code).
Actual result:
Preview in CKEditor and published message board post display whatever is literally written in the source, this includes HTML tags or anything that is written. Adding text (with any line) to the normal Editor and publishing will create a post with that line literally written in the source (no formatting or HTML tags)
A workaround to this is to add the following to the portal-ext:
message.boards.message.formats=bbcode,html
message.boards.message.formats.default=html
This sets the message boards default format to html, doing this from the portal-ext will make the portlet behave correctly, in the control panel the correct setting set in the Message Format drop down.