Fixed Preview of threads with gallery media

mph

Active member
Affected version
2.2.0 RC2
If only a bbcode of a gallery media is added to the rich text editor the button "Preview" doesn't switch to preview of the new message. For example:
Code:
[GALLERY=media, 11986][/GALLERY]

After adding a text it works.
Code:
text [GALLERY=media, 11986][/GALLERY]

In my forum I have a lot of photos. Therefore it can be that messages in some threads have only photos and the text is only in the description of the media item.
 
There might not be a great deal we can do about this in the short term but it might be worth us looking into it. It would be an XFMG bug, not XF.
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.0 RC3).

Change log:
Sync editor contents before attempting to toggle the preview.
There may be a delay before changes are rolled out to the XenForo Community.
 
Back
Top Bottom