When you add styles to the "allowed styles" using the style system on a
components policy, it seems that the class is added to the parent
container that is generated by the component instead of the main tag
that contains the content. Specifically I'm referring to the text
component. You can have many different tag options, (i.e. H1 - H6, p,
small) to contain the text. But when you add the allowed styles, the
class is added to the parent div. I need the classes to be added
directly to the tag hol...
I'm new to the details of AEM. I work on the Marketing side of our
website so I make lots of one off landing pages and campaign Hero
Sections that the Authoring WYSIWYG can't handle (I can't seem to do
pixel perfect with a WYSIWYG). Is it best to just create a component for
the page or section that needs custom HTML, CSS, and JS? Or is there
another way that is preferred? It seems like the components will pile up
pretty quickly this way.
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?
I don't know how to get the packaged files into normal files and how to
get the POM files. When I try to unzip the packages they just create a
new zip file with .cpgz file extension. I'm very new at all this.
I packaged a site from our Dev environment and added it to my local AEM
instance. I would like to be able to edit that site using Eclipse but I
don't know how to go from "already in AEM" to Eclipse project. I only
know how to go from making a new project and add it to AEM.