mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-24 13:49:56 +09:00
Fix #494 add option to control auto-insertion of images in editor
This commit is contained in:
parent
a8a85bd7cb
commit
cd80bcb3a7
8 changed files with 40 additions and 5 deletions
|
|
@ -126,7 +126,7 @@ var auto_saved_msg = "{$lang->msg_auto_saved}";
|
|||
settings.loadXeComponent = false;
|
||||
<!--@endif-->
|
||||
|
||||
<!--@if($module_type === 'comment' || $m)-->
|
||||
<!--@if($module_type === 'comment' || Rhymix\Framework\UA::isMobile())-->
|
||||
settings.ckeconfig.toolbarStartupExpanded = false;
|
||||
<!--@endif-->
|
||||
|
||||
|
|
|
|||
|
|
@ -56,7 +56,8 @@
|
|||
// uploader
|
||||
var setting = {
|
||||
maxFileSize: {$logged_info->is_admin === 'Y' ? 0 : $file_config->allowed_filesize},
|
||||
maxChunkSize: {$file_config->allowed_chunk_size},
|
||||
maxChunkSize: {$file_config->allowed_chunk_size ?: 0},
|
||||
autoinsertImage: {json_encode($editor_autoinsert_image ?: 'paragraph')},
|
||||
singleFileUploads: true
|
||||
};
|
||||
$container = $('#xefu-container-{$editor_sequence}');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue