Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

How do you add custom HTML to an experience fragment?

Avatar

Level 2

I have a navigation for my site that an Experience Fragment would work great for but it's more complex than the WYSIWYG can handle. So, I'd like to just add my HTML to the XF. Can I add the custom HTML and clientlib styles/js directly to the XF or do I need to create a component and then add the component to the XF? 

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

It can insert it via richtext markup editor mode. As said, WYSIWYG authoring experience definition can be of different perspective - it cannot be always embedded clicks. Especially, when the end user experience is on-hover, on-click show/hide etc, the WYSIWYG authoring experience stays on the preview mode for the marketer, not plainly in the edit mode.

View solution in original post

3 Replies

Avatar

Correct answer by
Employee Advisor

It can insert it via richtext markup editor mode. As said, WYSIWYG authoring experience definition can be of different perspective - it cannot be always embedded clicks. Especially, when the end user experience is on-hover, on-click show/hide etc, the WYSIWYG authoring experience stays on the preview mode for the marketer, not plainly in the edit mode.

Avatar

Level 2
I'm not familiar with a "richtext markup editor mode". Can you tell me how I can access this in an experience fragment? Thanks.