Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Text field in AEM enhance components does not allow a different h tag after line break

Avatar

Avatar
Validate 1
Level 1
mohanasundaramp
Level 1

Like

1 like

Total Posts

30 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back
Boost 1
View profile

Avatar
Validate 1
Level 1
mohanasundaramp
Level 1

Like

1 like

Total Posts

30 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back
Boost 1
View profile
mohanasundaramp
Level 1

20-11-2020

sample screen.jpgHi all,

I am facing issue in text component para format icon disabled for below scenario, Any one can help to fix this issue.

  1. In Text component enter copy in the main text field (not the Title field, if the component has that). 
  2. Create a line break and type more copy.
  3. Attempt to change the h-tag setting on that new line of copy to a size other than "Paragraph;" Observe that the paragraph icon (¶) in the toolbar above the text field is grayed out and will therefore not allow user to make any changes to the h-tag. See attached screenshot for example. 

PFA also.

 

Thanks,

Mohan

View Entire Topic

Avatar

Avatar
Establish
MVP
BrianKasingli
MVP

Likes

627 likes

Total Posts

596 posts

Correct Reply

234 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile

Avatar
Establish
MVP
BrianKasingli
MVP

Likes

627 likes

Total Posts

596 posts

Correct Reply

234 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
BrianKasingli
MVP

20-11-2020

@mohanasundaramp,

Can you please share with us the Granite UI XML configuration that you are using for the RichText?

mohanasundaramp
Please find my xml file.
mohanasundaramp
<?xml version="1.0" encoding="UTF-8"?> <jcr:root xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" jcr:primaryType="cq:EditConfig"> <cq:inplaceEditing jcr:primaryType="cq:InplaceEditingConfig" active="{Boolean}true" configPath="inplaceEditingConfig" editorType="text"> <inplaceEditingConfig jcr:primaryType="nt:unstructured"> <rtePlugins jcr:primaryType="nt:unstructured"> <tracklinks jcr:primaryType="nt:unstructured" features="*"/> <table jcr:primaryType="nt:unstructured" features="*"> <hiddenHeaderConfig jcr:primaryType="nt:unstructured" hiddenHeaderClassName="cq-wcm-foundation-aria-visuallyhidden"/> </table> <paraformat jcr:primaryType="nt:unstructured" features="*"> <formats jcr:primaryType="nt:unstructured"> <default_p jcr:primaryType="nt:unstructured" description="Paragraph" tag="p"/> <default_h1 jcr:primaryType="nt:unstructured" description="Heading 1" tag="h1"/> <default_h2 jcr:primaryType="nt:unstructured" description="Heading 2" tag="h2"/> <default_h3 jcr:primaryType="nt:unstructured" description="Heading 3" tag="h3"/> <default_h4 jcr:primaryType="nt:unstructured" description="Heading 4" tag="h4"/> <default_h5 jcr:primaryType="nt:unstructured" description="Heading 5" tag="h5"/> <default_h6 jcr:primaryType="nt:unstructured" description="Heading 6" tag="h6"/> <default_blockquote jcr:primaryType="nt:unstructured" description="Quote" tag="blockquote"/> <default_hr jcr:primaryType="nt:unstructured" description="Horizontal Rule (visual line break)" tag="hr"/> <default_pre jcr:primaryType="nt:unstructured" description="Preformatted" tag="pre"/> <default_strong jcr:primaryType="nt:unstructured" description="Strong" tag="strong"/> </formats> </paraformat> <misctools jcr:primaryType="nt:unstructured" features="specialchars"> <specialCharsConfig jcr:primaryType="nt:unstructured"> <chars jcr:primaryType="nt:unstructured"> <default_copyright jcr:primaryType="nt:unstructured" entity="&amp;copy;" name="copyright"/> <default_euro jcr:primaryType="nt:unstructured" entity="&amp;euro;" name="euro"/> <default_registered jcr:primaryType="nt:unstructured" entity="&amp;reg;" name="registered"/> <default_trademark jcr:primaryType="nt:unstructured" entity="&amp;trade;" name="trademark"/> <default_half jcr:primaryType="nt:unstructured" entity="&amp;half;" name="half"/> </chars> </specialCharsConfig> </misctools> <links jcr:primaryType="nt:unstructured" features="modifylink,unlink"/> <justify jcr:primaryType="nt:unstructured" features="*"/> <format jcr:primaryType="nt:unstructured" features="bold,italic,underline"/> </rtePlugins> </inplaceEditingConfig> </cq:inplaceEditing> </jcr:root>
BrianKasingli

Hi, you sent me xml for cq:EditConfig, but what I need is the XML configuration for cq/gui/components/authoring/dialog

mohanasundaramp
using below xml congilg in dialog.
mohanasundaramp
using below xml config in dialog.
mohanasundaramp
<?xml version="1.0" encoding="UTF-8"?> <jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" jcr:primaryType="sling:Folder" sling:resourceSuperType="granite/ui/components/coral/foundation/form/field"/>
BrianKasingli

try replacing your entire touch ui xml configuration with this: 

https://gist.github.com/briankasingli/1a7e3e12deaa2e076645b09d30039b46

mohanasundaramp
After replacing also facing same issue.