You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current implementation of create_resource does not use the title of a block if the block type is not a "default block", and is not defined in the _config.yml
For instance, if I don't specify any configuration in _config.yml and write the following block:
> test "hello"> This is a test
Then the following will be output:
<divclass="premonition test"><divclass="fa fa-check-square"></div><divclass="content"><p>This is a test</p></div></div>
Its actually by design since test is not a box type. Actually I think we should render an error (with tip on how to implement types) instead of the box itself when using an undefined box type.
The current implementation of
create_resource
does not use the title of a block if the block type is not a "default block", and is not defined in the_config.yml
For instance, if I don't specify any configuration in
_config.yml
and write the following block:Then the following will be output:
Seeing that the default template is:
I would expect a
<p class="header">
to be generated as well, but it isn't. Is this intended behavior?To fix this in the short term, I'm able to do the following config, which makes the plugin generate a
<p class="header">
.The text was updated successfully, but these errors were encountered: