modxcms / revolution

MODX Revolution - Content Management Framework
https://modx.com/
GNU General Public License v2.0
1.36k stars 529 forks source link

TV input type "textarea" not high enough #5512

Closed mindeffects closed 4 months ago

mindeffects commented 13 years ago

mindeffects created Redmine issue ID 5512

TV input type "textarea" is not high enough. RTFM says "about 15 lines", I count only about 8 lines (Chromium 15.x and FF5).

I will also write a feature request for textareas with editable height. Don't want to mix bugs and features. ;-)

OptimusCrime commented 10 years ago

I has shrunk to 7 lines in 2.3 actually.

However, I don't feel the need to have it any higher. You could mix it up by seperating the content to another resource and use the content field there.

pixelchutes commented 10 years ago

Another option is to use an editor, like Ace, to render large RichText TV inputs. One advantage here is that each individual editor can then toggle into fullscreen mode, providing maximum screen real estate / visibility, when needed.

That said, I do wish that core textarea TVs were at least resizable. Even native textareas are resizable in the browser, it's unfortunate that it is not currently supported. At a minimum, support for auto-expansion based on the length of the field's content (like the introtext field) would be a helpful improvement.

mindeffects commented 10 years ago

Why not have the height as a setting of the TV itself? Wanna big textarea, make it 20rem. Or a small one, make it 3rem. Pro choice! I often have the feeling, that "creative freedom" is something that should be also valid for the manager – since we all are building user interfaces for our customers. And the manager is, as we all know, just a website on top of MODX API. ;-)

rthrash commented 10 years ago

A setting in the TV would be quite cool, as would a standard "resizable in the browser" widget. Think you could tackle that one @pixelchutes ?

mindeffects commented 10 years ago

Thanks, @rthrash! I would like to grab the chance to start a discussion on how "creative freedom" could be extendet to the "Resource Editing Userinterfaces" we build with the MODX Manager. GitHub here might not be the best place for that but I wanted to give you just an appetizer and (maybe) start something here: move, resize and organize the inputs in a grid with the arrows. modx ideas seite 1 The red stroke in the full-width field is just an accident. ;-)

rthrash commented 10 years ago

Man I would love to see something like that Oliver! And something like how Crowdin handles translations for label customization, too, including the ability to move the silly default fields, also.

rthrash commented 10 years ago

On that note, I think this definitely merits another issue and the discussion is fine here on Github.

mindeffects commented 10 years ago

Done, @rthrash. Please invite your friends to #11661 for punch and pie. ;-)

devlanda commented 7 years ago

I am working on a fix for this issue.

pyrographics commented 7 years ago

Not sure if it would be related to this issue or not but is in same ballpark. If you uncheck "Rich Text" on a resources settings to change a rich text box to a plain text box, a rich text TV correctly turns into a standard textarea but the size is so tiny (one short row) you can't use it and it cannot be resized.

OptimusCrime commented 7 years ago

Perhaps worth opening a new issue for this? It does not concern the rich text editor.

ilyautkin commented 5 years ago

PR https://github.com/modxcms/revolution/pull/13524 is closed and feature is not implemented yet. Confirmed for MODX 2.7.0

JoshuaLuckers commented 5 years ago

There is a grow property that can be set to true. If true the textarea will be the same height as its content.