volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Bootstrap in XHTMLSTRING property

Hello,

I'm trying to insert HTML content to a xhtmlstring property type which has bootstrap classes.

The bootstrap js library does not affect the html inserted by the EPpServer. I assume because the episerver loads the HTML after the dom is created, hence the problem.

Any idea how to solve this?

Thanks

#132663
Aug 16, 2015 9:47

Hi Basil!

What's the issue you are experiencing?

#132667
Aug 17, 2015 7:57

Hi, it might be that you putting a class on an element that does not by default support class as valid attribute.

Check this out, if your HTML markup does not contain the classes/elements you added: http://cjsharp.com/blog/2013/04/15/how-to-add-valid-elements-like-iframes-to-tinymce-in-episerver-7/, but as Linus wrote, it would be better to get more details :)

#132706
Edited, Aug 17, 2015 17:00
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.