{"action":"closed","issue":{"url":"https://api.github.com/repos/luyadev/luya-module-cms/issues/43","repository_url":"https://api.github.com/repos/luyadev/luya-module-cms","labels_url":"https://api.github.com/repos/luyadev/luya-module-cms/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/luyadev/luya-module-cms/issues/43/comments","events_url":"https://api.github.com/repos/luyadev/luya-module-cms/issues/43/events","html_url":"https://github.com/luyadev/luya-module-cms/issues/43","id":298010183,"number":43,"title":"CMS: Blockvariation option doesn´t seem to work","user":{"login":"dev7ch","id":15183757,"avatar_url":"https://avatars1.githubusercontent.com/u/15183757?v=4","gravatar_id":"","url":"https://api.github.com/users/dev7ch","html_url":"https://github.com/dev7ch","followers_url":"https://api.github.com/users/dev7ch/followers","following_url":"https://api.github.com/users/dev7ch/following{/other_user}","gists_url":"https://api.github.com/users/dev7ch/gists{/gist_id}","starred_url":"https://api.github.com/users/dev7ch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dev7ch/subscriptions","organizations_url":"https://api.github.com/users/dev7ch/orgs","repos_url":"https://api.github.com/users/dev7ch/repos","events_url":"https://api.github.com/users/dev7ch/events{/privacy}","received_events_url":"https://api.github.com/users/dev7ch/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-02-17T14:52:33Z","updated_at":"2018-02-17T16:45:02Z","closed_at":"2018-02-17T16:45:02Z","author_association":"MEMBER","body":"Setting the block variations inside your configs following the docs doesn´t work properly.\r\n\r\n- it shows up in the Admin UI\r\n- but don't have an effect on the frontend\r\n\r\n```php\r\n            'blockVariations' => [\r\n                    \\luya\\bootstrap4\\blocks\\ImageBlock::variations()\r\n                        ->add('float-right', 'Right align')->cfgs(['imgClass' => 'blockvars-img-right'])\r\n                        ->add('float-left', 'Left align')->cfgs(['imgClass' => 'blockvars-img-right'])\r\n                        ->add('accordion', 'Accordion Image')->cfgs(['imgClass' => 'blockvars-img-accordion'])->register(),\r\n                    \\luya\\generic\\blocks\\TextBlock::variations()\r\n                        ->add('bold', 'Bold Font with Markdown')->cfgs(['cssClass' => 'bold-font-class'])->vars(['textType' => 1])\r\n                        ->add('italic', 'Italic Font')->cfgs(['cssClass' => 'italic-font-class'])->register(),\r\n            ],\r\n```\r\nDo I missing something?"}}
{"actor":{"display_login":"dev7ch"}}