Try our conversational search powered by Generative AI!

Bootstrap in XHTMLSTRING property

Vote:
 

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
Vote:
 

Hi Basil!

What's the issue you are experiencing?

#132667
Aug 17, 2015 7:57
Vote:
 

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.