Expand my Community achievements bar.

Adobe Summit 2025: AEM Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

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

Community Advisor

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.