Resource type not coming while performing inplace editing (editorType is plaintext) | Community
Skip to main content
saumyaj49332255
Level 2
June 7, 2023

Resource type not coming while performing inplace editing (editorType is plaintext)

  • June 7, 2023
  • 1 reply
  • 1758 views

Hi,

I am trying to solve a problem where I have a custom component with only textfield - with an in-place editing node and editorType is plaintext. When I include this component in another component and perform in-place editing, the authored value gets stored but resourceType for the component is missing in the content node.

 

However, if I drag and drop this component separately it works fine.

 

Please help me with how can I solve this by keeping editorType as plaintext.

 

Note: When I change editorType to text or title, it works fine. It is only not working with the plaintext option and that is what I have to use.

 

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Community Advisor
June 8, 2023

Hi @saumyaj49332255 , RTE by definition is for rich text. I understand what you are trying to achieve here but wouldn't Text Area or Text field will fit better here?
See this thread for reference https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/rte-text-component-plaintext/m-p/255886/highlight/true#M39830 

saumyaj49332255
Level 2
June 8, 2023

I am not using RTE anywhere. This is about plaintext. I am using textfield only inside the component dialog , but I also want in-place editing for this component and that is not working.

Community Advisor
June 8, 2023

Okay, isn't this a text component? Can you provide some info here, path of this component and AEM version you are on.