mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-29 16:19:58 +09:00
Fix #1335 support autoinsert option by file type
This commit is contained in:
parent
2802c59889
commit
8d05a674f5
8 changed files with 50 additions and 31 deletions
|
|
@ -60,7 +60,8 @@
|
|||
var setting = {
|
||||
maxFileSize: {$logged_info->is_admin === 'Y' ? 0 : $file_config->allowed_filesize},
|
||||
maxChunkSize: {$file_config->allowed_chunk_size ?: 0},
|
||||
autoinsertImage: {json_encode($editor_autoinsert_image ?: 'paragraph')},
|
||||
autoinsertTypes: {json_encode($editor_autoinsert_types)},
|
||||
autoinsertPosition: {json_encode($editor_autoinsert_position ?: 'paragraph')},
|
||||
singleFileUploads: true
|
||||
};
|
||||
$container = $('#xefu-container-{$editor_sequence}');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue