mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-05-06 23:37:03 +02:00
renamed markdownEditor->contentEditor
This commit is contained in:
@@ -199,14 +199,14 @@ class Admin
|
||||
$debugger->addMessage($message, 'debug', $data);
|
||||
}
|
||||
|
||||
public static function markdownEditor()
|
||||
public static function contentEditor()
|
||||
{
|
||||
$options = [
|
||||
'default' => 'Default',
|
||||
'codemirror' => 'CodeMirror'
|
||||
];
|
||||
$event = new Event(['options' => &$options]);
|
||||
Grav::instance()->fireEvent('onAdminListMarkdownEditors', $event);
|
||||
Grav::instance()->fireEvent('onAdminListContentEditors', $event);
|
||||
return $options;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user