mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 11:44:10 +09:00
Rename rx_upload CKEditor plugin to rx_paste, and move paste handler from editor.app.js to it
This commit is contained in:
parent
3e5951174e
commit
e15c913b21
3 changed files with 18 additions and 20 deletions
|
|
@ -15,7 +15,9 @@ $ckconfig->ios_patch = (bool)preg_match('/i(Phone|Pad|Pod)/', $_SERVER['HTTP_USE
|
|||
// Plugin configuration
|
||||
$ckconfig->add_plugins = $editor_additional_plugins ?? [];
|
||||
$ckconfig->remove_plugins = $editor_remove_plugins ?? [];
|
||||
$ckconfig->add_plugins[] = 'rx_upload';
|
||||
if (!in_array('clipboard', $ckconfig->remove_plugins)) {
|
||||
$ckconfig->add_plugins[] = 'rx_paste';
|
||||
}
|
||||
if ($ckconfig->ios_patch) {
|
||||
$ckconfig->add_plugins[] = 'divarea';
|
||||
$ckconfig->add_plugins[] = 'ios_enterkey';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue