WebsiteBaker Support (2.11.x) > Modules

too few lines when switching CKEditor to none

(1/3) > >>

betra:
I have Website Baker Version 2.11.0.

When I switch the WYSIWYG Editor to none,
I get only 2 lines to edit my content.
Of course, by pulling it down with the mouse, the window size increases.
How can I get 20 lines by default?

Regards
Bernhard

Gast:
modules/wysiwyg/modify.php, search for this line


--- Code: ---echo show_wysiwyg_editor('content'.$section_id,'content'.$section_id,$content,'100%','258', false);
--- End code ---

and change 258 to the wished height. add there also px or % to have a correct value

betra:
Thank you for the answer.
But I switch the Wysiwyg editor off (to none) in Options.
There should be annother mini Editor instead.
Even your line 'echo show_wysiwyg-edi....' is not in my modules/wysiwyg/modify.php file.
I have a line: 'function show_wysiwyg_editor($name,$id,$content,$width,$height)'
but the $height Variable is not set in this file.

Regards
Bernhard

Gast:
pls give me the wb-version-nr

Gast:

--- Quote ---But I switch the Wysiwyg editor off (to none) in Options.
There should be annother mini Editor instead.
--- End quote ---

No, that's wrong

there is only a simple text-area, not a mini editor
if you need a small editor, change the toolbar in modules/ckeditor/wb_config/wb_ckconfig.js to WB_Basic, WB_Simple or what ever you want

Navigation

[0] Message Index

[#] Next page

Go to full version