adobe / adobe/aem-core-wcm-components
[Text] Wrapping div cmp-text disappears when using inplace editing
- Dominant language
- Java
- Stars
- 796
- Forks
- 776
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 8
Description
## Bug Report
**Current Behavior**
The Text v2 component has a wrapping div.cmp-text in the text.html HTL template, when using the inplace editing features, it removes this wrapping div, making all CSS rules not match anymore. The recommended approach by Adobe is styling on the cmp-text CSS class, so we have currently no alternative to style the text component
**Expected behavior/code**
The wrapping div.cmp-text should stay
**Environment**
- AEM version: Cloud SDK 2023.7.12549.20230704T084019Z
- Core Components version 2.23.0
Contributor guide
Research direction
Start with the Text v2 component's text.html HTL template and inspect how the wrapping div.cmp-text is handled during inplace editing. Verify the behavior with the reported AEM and Core Components versions, then confirm that the wrapper remains present and CSS rules targeting cmp-text still match.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 50/100