mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Enable editor components in mobile CKEditor
This commit is contained in:
parent
5a867a3a8b
commit
833cf111bd
1 changed files with 1 additions and 2 deletions
|
|
@ -87,7 +87,6 @@ $(function() {
|
|||
|
||||
// Patch for iOS: https://github.com/rhymix/rhymix/issues/932
|
||||
if (config.ios_patch) {
|
||||
settings.loadXeComponent = false;
|
||||
$('head').append('<style>'
|
||||
+ '.cke_wysiwyg_div { padding: 8px !important; }'
|
||||
+ 'html { min-width: unset; min-height: unset; width: unset; height: unset; margin: unset; padding: unset; }'
|
||||
|
|
@ -102,7 +101,7 @@ $(function() {
|
|||
{ name: 'styles', items: [ 'Font', 'FontSize', '-', 'Bold', 'Italic', 'Underline', 'Strike', 'TextColor', 'BGColor' ] },
|
||||
{ name: 'paragraph', items: [ 'JustifyLeft', 'JustifyCenter', 'JustifyRight' ] },
|
||||
{ name: 'clipboard', items: [ 'Cut', 'Copy', 'Paste' ] },
|
||||
{ name: 'insert', items: [ 'Link', 'Image', 'Table' ] },
|
||||
{ name: 'insert', items: [ 'Link', 'Image', 'Table', 'poll_maker' ] },
|
||||
{ name: 'tools', items: [ 'Maximize', '-', 'Source' ] }
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue