This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
robindrost3794
Hello.
Is it possible to extends the build in richeditor form widget? For example add a stylesheet while it loads? At the moment I have the following code inside the boot method of a Plugin.php file:
\Event::listen('backend.form.extendFields', function($widget)
{
$widget->addCss('/themes/testtheme/assets/css/test.css');
}
});
This seems to work, but is this also the correct way of extending the editor?
1-1 of 1