custom block - composer.php does not show field in composer

Permalink
I've created a custom block that has 1 wysiwyg textarea. I want this block to be editable in composer so I created a composer.php file in the root of the custom-block and I have added it to the page-type defaults. (the content of the composer.php is the same as the edit.php of the block, see attached file)

When I go to the composer to add a page of the pagetype, I need to click the block name to edit the field. I want this to be a wysiwyg editor instead of a link to edit.

Normally when adding a block (for example content) it shows in the composer immediately as a textarea with wysiwyg editor. This is what I would like to have.

Anyone know what the problem might be? Perhaps I missed a step to make the custom block editable in the composer?

1 Attachment

Jozzeh
 
Jozzeh replied on at Permalink Best Answer Reply
Jozzeh
I've found the 'error'. On my test-website I created the block and put it in the blocks folder. However when the block was ready, I put it in a package but forgot to delete the block in the blocks folder. This caused my controller not to install the block from the package.