Skip to Content Skip to Menu

Height of textarea in Editor Textarea fields

  • Doromi
  • Doromi
  • OFFLINE
  • Posts: 9
  • Thanks: 1
  • Karma: 1
10 years 5 months ago #245447 by Doromi
Hi,

I'm working with Joomla 3.3 and CB 1.9.1.

Some of my fields are editor textareas.
Firebug tells me that the textarea part itself is 550px high,
but I don't find the code where this value is set
- I would like to have it MUCH smaller...

Thanks in advance,

doromi

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
10 years 5 months ago #245463 by krileon
Replied by krileon on topic Height of textarea in Editor Textarea fields
Adjust Cols and Rows while editing the field in CB > Field Management. If both are empty or 0 it'll use the fallback size of 600x350 or whatever the editor it self specifies its own size should be.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • Doromi
  • Doromi
  • OFFLINE
  • Posts: 9
  • Thanks: 1
  • Karma: 1
10 years 5 months ago #245468 by Doromi
Kyle,

thanks for your reply.

Your explanation sounds great, and it would be great if it worked...
Unfortunately both FF and Opera ignore whatever I enter for Cols and Rows.

Looking at the code Opera shows
<textarea id="cb_xxx" name="cb_xxx" cols="10" rows="5" style="width: 600px; height: 350px; display: none;" class="wfEditor mce_editable source" wrap="off" aria-hidden="true"><p>this is text</p></textarea>
- using the fallbacksize while there ARE values for cols and rows,

and the Firebug shows the same:
<textarea id="cb_xxx" class="mce_editable" style="width: 600px; height: 350px; display: none;" rows="5" cols="10" name="cb_xxx" aria-hidden="true">
with an iframe around it with the height of 550px.
BTW - this iframe is nowhere to be seen in Opera's code.

So - is there anything else I could try ?

doromi

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
10 years 5 months ago #245471 by krileon
Replied by krileon on topic Height of textarea in Editor Textarea fields
Nope, we don't have a Height and Width parameter for it. You can use !important CSS styles to override the inline style though. Example as follows.

Code:
#cb_xxx { width: 100px !important; height: 100px !important; }

For the editor it self you typically specify those sizes within Extensions > Plug-in Manager > Your Editor (e.g. Editor - TinyMCE).


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum