adobe / aem-core-wcm-components

Standardized components to build websites with AEM.
https://docs.adobe.com/content/help/en/experience-manager-core-components/using/introduction.html
Apache License 2.0
730 stars 736 forks source link

Text: The IPE config for paraformat is invalid #42

Closed kwin closed 7 years ago

kwin commented 7 years ago

Although the text component's editConfig has some rteplugins configured, e.g. "paraformat" in https://github.com/Adobe-Marketing-Cloud/aem-core-wcm-components/blob/master/content/src/content/jcr_root/apps/core/wcm/components/text/v1/text/_cq_editConfig.xml#L20, this option is not provided in the according in-place editors toolbar. See also this scren

inplace_editor_configuration
kwin commented 7 years ago

This is probably due to the missing features attribute in the paraformat element.

kwin commented 7 years ago

The same is true for misctools which also lacks the mandatory features attribute.

raducotescu commented 7 years ago

@kwin, the configuration is not invalid - it just doesn't enable all features. If you need more than the default provided ones then you can create a content policy and enable them. Feel free to reopen the issue in case you still think the configuration should be addressed differently.

kwin commented 7 years ago

I would strongly suggest to use the same style to indicate that something needs to be enabled via the content policy first. Partly this is indicated via features="-" and partly by omitting the features attribute at all.