tinymce icon indicating copy to clipboard operation
tinymce copied to clipboard

tinymce dialog component textarea - cannot set size

Open DNWEIJ opened this issue 4 years ago • 5 comments

The textarea component is not workable as i cannot find any way of sizing it. If i place it in a dialog, there is no way to resize the textarea (there are no properties for it)

Why not just keep the html elemens rows and cols to size the text area to something workable?

Note: I use the textarea to display a larger text that can be selected from a dropdown, so initally the text area is empty

DNWEIJ avatar Mar 05 '21 14:03 DNWEIJ

Hi @DNWEIJ,

I can confirm that you can't currently do this. Part of the reason likely relates to the fact the UI needs to be responsive, so cols probably doesn't make sense however we should be able to add rows. Anyways, I'm going to label this as a feature request for our Product team to review.

lnewson avatar Mar 09 '21 04:03 lnewson

Sorry for the late reaction.... Well having just two line textarea isn't working at all....being responsive or not.... I would not see this as a feature but as a bug. Even in responsive area's it should still be sizeable either in percentages in in grid size or what ever the system is you use. Any workaround available? Like using somewhere csss/javscript to set size?

And to be honest, responsive doesn't seem to be the issues, since a responsive component more or less is always sized

DNWEIJ avatar Mar 26 '21 23:03 DNWEIJ

Hi @lnewson,

I'm interested in learning if there have been any news regarding potential solutions to this issue. We've encountered this problem when implementing the new version of TinyMCE v6. We provide our users with the option to adjust the height of the TinyMCE editor textarea. Sometimes, it's crucial for users to have an extremely narrow input field, typically spanning just two rows or around 40px in height. However, with the new version of the editor, we've noticed that the minimum height cannot be set to less than 400px, and it affects the entire editor, not just the textarea. It would be great to be able to control the height of the textarea using the settings provided by the TinyMCE API.

Thank you in advance.

sabina-talipova avatar Oct 19 '23 22:10 sabina-talipova

This issue is stale because it has been open 365 days with no activity. Please comment if you wish to keep this issue open or it will be closed in 30 days.

tiny-stale-bot avatar Oct 19 '24 00:10 tiny-stale-bot

Please keep this open, kind bot.

GuySartorelli avatar Oct 19 '24 00:10 GuySartorelli

This issue is stale because it has been open 365 days with no activity. Please comment if you wish to keep this issue open or it will be closed in 30 days.

tiny-stale-bot avatar Oct 20 '25 00:10 tiny-stale-bot

This issue was closed because it has been stalled for 30 days with no activity.

tiny-stale-bot avatar Nov 19 '25 00:11 tiny-stale-bot