Some html/styles stripped out in stories

Tagged: 

ThemeBurn SupportForumsOpenCart ThemesPavilion OpenCart ThemeSome html/styles stripped out in stories

This topic has been marked as resolved.

Hi Themeburn-Team,

when I write a story, save it and then reopen it some of the html is stripped out. Tags like<p>, <hx> and <li> and others work just fine, but other things do not. For example, I write a story and use

<img alt="Reife Melonen an einer Melonenpflanze" src="https://www.city-gardener.com/image/catalog/Blog/pflanzanleitung-melone.jpg" style="float:left; width:50%; padding-right:15px" />

When I save the story the code is saved correctly and the image shows including the padding. However, once I open the story again to edit something the “padding-right:15px” is gone. Same happens with (which I use to embed youtube videos).

Do you have any idea why this happens and how it could be prevented?

And while I at it: In the article overview neither the pagination nor the search works for me. Is that a known issue or does that happen just to me? I could still edit the posts using the story_id in the URL so this is only cosmetic.

Thanks & best,
Torge

November 5, 2015 at 4:27 pm #43678

Hi Torge,

We’ve set CKEditor initialization not to strip any markup and fixed the pagination issue. You just need to extract the attached patch into your installation directory.

P.S. Make sure you have cleared your browser cache, after you apply the patch.

BR,
ThemeBurn team

November 16, 2015 at 4:21 pm #43792

Hi ThemeBurn-Team,

thanks for the feedback. The pagination issue is solved now (there is no pagination anymore which is nice). However, the Editor got worse in that now, there is none :) I attached a screenshot for you to see. Tested in several browsers. Stuff is there in the source code, but not displayed. Any ideas?

Thanks & best,
Torge

November 16, 2015 at 10:05 pm #43805

Hi ThemeBurn-Team,

the problem is caused by the element style “hidden” which is set for the textarea. See:

<textarea name="story[lang][2][description]" id="description-2" rows="5" style="visibility: hidden;">

My only problem is that I couldn’t for the life of me find out where this is coming from. Maybe you have an idea?

Thanks & best,
Torge

November 20, 2015 at 11:10 am #43849

Hi,

We will need the website url, admin and ftp access, so we can check.

You can use hidepost to share private information with the support staff.

Best,
ThemeBurn team

November 27, 2015 at 2:54 pm #43891

Hi TB-Support,

here are the credentials:

Thanks & best,
Torge

November 27, 2015 at 3:21 pm #43900

Hi Torge,

Actually, this patch will work only with the latest version of Pavilion (1.2.6) as there are some changes to CKEditor there.

Anyway, we’ve uploaded the missing files and now everything should be OK. If you decide to upgrade, do not forget to re-apply the patch.

BR,
ThemeBurn team

November 27, 2015 at 3:40 pm #43902

Hi TB-team,

works like a charm now.

Thanks,
Torge

November 27, 2015 at 4:31 pm #43907

Glad we’ve helped.

BR,
ThemeBurn team

November 27, 2015 at 4:34 pm #43909
Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.