Rich Text Editor (rte) - Needs to expand input text field of the richtext | Community
Skip to main content
October 16, 2015
Solved

Rich Text Editor (rte) - Needs to expand input text field of the richtext

  • October 16, 2015
  • 7 replies
  • 2062 views

I have a requirement to expand the input text field of richtext if the component dialog window expands. Currently the input text field is expanding horizontally if we expand components dialog but is not expanding vertically but it is adding scroll bar if author tries to give more input.

Please check the attached screenshot for better understanding.

Kindly help me with your suggestions on achieving the same.

Many Thanks in Advance.

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

 

I confirmed with the Adobe community leaders last week that this is the nature of the ExtJS widget used for RTE.  There is no known solution without building a new widget.  We have the same exact concern across our components.

7 replies

trench999
trench999Accepted solution
Level 4
October 16, 2015

 

I confirmed with the Adobe community leaders last week that this is the nature of the ExtJS widget used for RTE.  There is no known solution without building a new widget.  We have the same exact concern across our components.

October 16, 2015

trench999 wrote...

 

I confirmed with the Adobe community leaders last week that this is the nature of the ExtJS widget used for RTE.  There is no known solution without building a new widget.  We have the same exact concern across our components.

 

Would you please let me know how to get in touch with Adobe Community Leaders?  Would you also let me know how to create a new widget that addresses the concern?

smacdonald2008
Level 10
October 16, 2015

Adobe community leaders are always monitoring this forum. There are many like Sham, Justin, Yoerg, etc.  

To create a new component as Mark suggests - you need to build a component that uses a custom xtype and program at the widget API level using this API:

http://docs.adobe.com/docs/en/cq/5-6-1/widgets-api/index.html?class=CQ.form.RichText

Look at the Hero sample component - you can download it from this article:

https://helpx.adobe.com/experience-manager/using/creating-aem-multifield-components.html

download it and deploy using package manager. Look at the example xtype it uses. This will point you in the right direction. 

trench999
Level 4
October 16, 2015

Most, if not all, are active on these forums.  smacdonald2008 is a good resource.  Widget development is a common AEM convention.  Here is a community post on the subject:https://helpx.adobe.com/experience-manager/using/creating-custom-xtype.html

kennyhank
Level 3
October 16, 2015

I'm trying to grow the height of the richtext too, if someone find a solution please post it.

In adition I found a bug in the Paste pluggins on richText, when the float window closes by close button, doesn't create the window more. With the property (closeAction: "hide") resolved the bug. Please report this to the community leaders.

Thanks.

Level 2
October 16, 2015
kennyhank
Level 3
October 16, 2015

Thanks man..........that's a very good post!........