mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
Reduce editor height in mobile mode
This commit is contained in:
parent
2108d96578
commit
44e5f44c59
1 changed files with 3 additions and 3 deletions
6
modules/editor/skins/ckeditor/editor.html
Executable file → Normal file
6
modules/editor/skins/ckeditor/editor.html
Executable file → Normal file
|
|
@ -31,7 +31,7 @@ var auto_saved_msg = "{$lang->msg_auto_saved}";
|
|||
<input type="hidden" name="_saved_doc_message" value="{$lang->msg_load_saved_doc}" />
|
||||
<!--@end-->
|
||||
|
||||
<div id="ckeditor_instance_{$editor_sequence}" data-editor-sequence="{$editor_sequence}" data-editor-primary-key-name="{$editor_primary_key_name}" data-editor-content-key-name="{$editor_content_key_name}" style="min-height:{$editor_height}px;"></div>
|
||||
<div id="ckeditor_instance_{$editor_sequence}" data-editor-sequence="{$editor_sequence}" data-editor-primary-key-name="{$editor_primary_key_name}" data-editor-content-key-name="{$editor_content_key_name}" style="min-height:{$m ? 160 : $editor_height}px;"></div>
|
||||
|
||||
<p cond="$enable_autosave" class="editor_autosaved_message autosave_message" id="editor_autosaved_message_{$editor_sequence}"> </p>
|
||||
|
||||
|
|
@ -86,7 +86,7 @@ var auto_saved_msg = "{$lang->msg_auto_saved}";
|
|||
|
||||
var settings = {
|
||||
ckeconfig: {
|
||||
height: '{$editor_height}',
|
||||
height: '{$m ? 160 : $editor_height}',
|
||||
skin: '{$colorset}',
|
||||
contentsCss: '{$content_style_path}/editor.css?{date("YmdHis", @filemtime($content_style_path."/editor.css"))}',
|
||||
xe_editor_sequence: {$editor_sequence},
|
||||
|
|
@ -121,7 +121,7 @@ var auto_saved_msg = "{$lang->msg_auto_saved}";
|
|||
settings.loadXeComponent = false;
|
||||
<!--@endif-->
|
||||
|
||||
<!--@if($module_type === 'comment'||Mobile::isMobileCheckByAgent())-->
|
||||
<!--@if($module_type === 'comment' || $m)-->
|
||||
settings.ckeconfig.toolbarStartupExpanded = false;
|
||||
<!--@endif-->
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue