Git Product home page Git Product logo

aemmjml's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

jdruwe

aemmjml's Issues

Support for targeting content

Currently it's not possible to use the targeting mode in AEM. This has several reasons but the main conceptual ones are:

  • the target components that replaces the mjml components and is not recognised properly by the transformation
  • teasers are loaded asynchronously in editing mode and requests on individual components are not supported by mjml

Should MJML components render as HTML in AEM Author edit mode?

After installing the aemmjml-all-package-0.1.0.zip release package and adding the MJML Button component to a Site page in AEM 6.5.5 Author edit mode, the Button's text renders, but the markup in the DOM is still MJML and not HTML - even in "View as Published" mode. Is this package expected to convert MJML markup to HTML when authoring/editing page content?

If this outcome is unexpected, do you have any tips for troubleshooting why the MJML is not converted to HTML? I haven't set up the development environment for this package, but I see in the AEM Sling Bundles that the release package seems to already include the necessary NodeJS binaries, so I'm not sure what might be going wrong.

 

Here's an example of what I see in both Author edit mode and "View as Published" mode:

<mj-button background-color="red" border-radius="3px" padding="0px" color="#ffffff" inner-padding="5px 10px" align="center">
    Hello world!
</mj-button>

I also made sure that the Core WCM components are installed:

Adobe Experience Manager Core WCM Components Core Bundle (com.adobe.cq.core.wcm.components.core) v2.13.2

 

EDIT: After watching Dirk's AEM Summit 2019 talk about this package, I gather that the reason it's not working for me is because I'm not using the AEMMJML Foundation package templates that provide the Page and Body components. I can see these templates in the CRX (/conf/global/settings/wcm/template-types/aemmjml-empty-page), but I don't know how to access them. Are these templates and/or this package only intended for use in Campaign?

NodeJS dependency can't be resolved

Currently the project can't be built / deployed to a running AEM instance.
Here's my settings.xml for Maven:

<?xml version="1.0" encoding="UTF-8" ?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
  <pluginGroups></pluginGroups>
  <proxies></proxies>
  <servers></servers>
  <mirrors></mirrors>
  <profiles>
    <profile>
      <id>adobe-public</id>
      <activation>
        <activeByDefault>true</activeByDefault>
      </activation>
      <repositories>
        <repository>
          <id>adobe</id>
          <name>Nexus Proxy Repository</name>
          <url>http://repo.adobe.com/nexus/content/groups/public/</url>
          <layout>default</layout>
        </repository>
      </repositories>
      <pluginRepositories>
        <pluginRepository>
          <id>adobe</id>
          <name>Nexus Proxy Repository</name>
          <url>http://repo.adobe.com/nexus/content/groups/public/</url>
          <layout>default</layout>
        </pluginRepository>
      </pluginRepositories>
    </profile>
  </profiles>
</settings>

It fails with the following error:

[ERROR] Failed to execute goal on project aemmjml-foundation-win64-fragment: Could not resolve dependencies for project biz.netcentric.cq.tools.aemmjml:aemmjml-foundation-win64-fragment:bundle:1.0.0-SNAPSHOT: Failure to find org.nodejs.dist:nodejs-binaries:zip:win-x64:12.5.0 in http://repo.adobe.com/nexus/content/groups/public/
was cached in the local repository, resolution will not be reattempted until the update interval of adobe has elapsed or updates are forced

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.