Commit b2334288 by Frédéric

Test

parent 2a7fc027
......@@ -13,6 +13,15 @@ use Bolt\Extension\SimpleExtension;
*/
class CkEditorEmbedPluginsExtension extends SimpleExtension
{
public function getParameters()
{
$config = $this->getConfig();
var_dump($config);
return $config;
}
/**
* @return array
*/
......@@ -20,7 +29,8 @@ class CkEditorEmbedPluginsExtension extends SimpleExtension
{
return [
JavaScript::create()
->setFileName('backend/js/backend.js')
->setFileName('js/ckeditor-plugins.js')
->setAttributes(['data-plugins' => 'plop, coin, plopcoin', 'id' => 'ckeditor-plugins'])
->setLate(true)
->setPriority(5)
->setZone(Zone::BACKEND)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment