mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Disable all editor components except poll_maker by default #1786
This commit is contained in:
parent
5311b73d68
commit
d49614d59c
1 changed files with 4 additions and 10 deletions
|
|
@ -68,16 +68,10 @@ class editor extends ModuleObject
|
|||
$oModuleController = getController('module');
|
||||
// Add the default editor component
|
||||
$oEditorController = getAdminController('editor');
|
||||
$oEditorController->insertComponent('colorpicker_text',true);
|
||||
$oEditorController->insertComponent('colorpicker_bg',true);
|
||||
$oEditorController->insertComponent('emoticon',true);
|
||||
$oEditorController->insertComponent('url_link',true);
|
||||
$oEditorController->insertComponent('image_link',true);
|
||||
$oEditorController->insertComponent('multimedia_link',true);
|
||||
$oEditorController->insertComponent('quotation',true);
|
||||
$oEditorController->insertComponent('table_maker',true);
|
||||
$oEditorController->insertComponent('poll_maker',true);
|
||||
$oEditorController->insertComponent('image_gallery',true);
|
||||
$oEditorController->insertComponent('emoticon', false);
|
||||
$oEditorController->insertComponent('image_link', false);
|
||||
$oEditorController->insertComponent('image_gallery', false);
|
||||
$oEditorController->insertComponent('poll_maker', true);
|
||||
// Create a directory to use in the editor module
|
||||
FileHandler::makeDir('./files/cache/editor');
|
||||
// 2007. 10. 17 Add a trigger to delete automatically saved document whenever the document(insert or update) is modified
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue