code in which file. can you help me
I couldn't find the codes
Quote<div class="sceditor-container ltr sourceMode" style="width: 870.333px; height: 265px;">
i will change this shape:
Quote
<div class="sceditor-container ltr sourceMode" style="width: 870.333px; height: 450px;">
Hello,
Modify the height here :
File : Sources\Post.php
Search:
// Now create the editor.
$editorOptions = array(
'id' => 'message',
'value' => $context['message'],
'labels' => array(
'post_button' => $context['submit_label'],
),
// add height and width for the editor
'height' => '275px',
'width' => '100%',
// We do XML preview here.
'preview_type' => 2,
'required' => true,
);
:)
thank you . Very good solution
Yes, thanks for solution :) I have increased editor height to 375px, but I wish to increase also height of the "Quick Reply" window, where is the code fot that?
Display.php, very similar code to that posted above
Hello,
For the "Quick Reply" modify the height here :
File : Sources\Display.php
Search:
// Now create the editor.
$editorOptions = array(
'id' => 'quickReply',
'value' => '',
'disable_smiley_box' => empty($options['use_editor_quick_reply']),
'labels' => array(
'post_button' => $txt['post'],
),
// add height and width for the editor
'height' => '250px',
'width' => '100%',
// We do HTML preview here.
'preview_type' => 1,
// This is required
'required' => true,
);
:)
504px height
does not show on the screen editor
Have less smileys on the editor page.
Quote from: maximus23 on February 09, 2019, 05:52:21 AM
Hello,
For the "Quick Reply" modify the height here :
File : Sources\Display.php
Search:
// Now create the editor.
$editorOptions = array(
'id' => 'quickReply',
'value' => '',
'disable_smiley_box' => empty($options['use_editor_quick_reply']),
'labels' => array(
'post_button' => $txt['post'],
),
// add height and width for the editor
'height' => '250px',
'width' => '100%',
// We do HTML preview here.
'preview_type' => 1,
// This is required
'required' => true,
);
:)
Thanks :) With two rows of emoticons in my forum, I have increased "Quick Reply" frame height to 350px, and it looks better :)
this has been very helpful, but what about the QuickEdit window?
Quote from: woolly bugger on February 10, 2019, 10:53:58 AM
this has been very helpful, but what about the QuickEdit window?
;)
File: Index.css (for each themes)
Search:
#quick_edit_body_container textarea,
.move_topic textarea,
dd textarea {
width: 100%;
min-height: 100px;
}
Modify the height -> min-height: 100px;
:)
perfect! thanks...