This bundle provides block management
- See the require section in the composer.json
- Ability to add comments to input fields and tinyMCE editor
This bundle can be installed following these steps:
$ php composer.phar require integrated/comment-bundle:~0.6
// app/AppKernel.php
public function registerBundles()
{
return array(
// ...
new Integrated\Bundle\CommentBundle\IntegratedCommentBundle()
// ...
);
}
# app/config/routing.yml
integrated_comment:
resource: "@IntegratedCommentBundle/Resources/config/routing.xml"
prefix: "/admin"
Comments made with tinyMCE will be added as html comments inside the source code, like this:
<p>text <!--integrated-comment=0a80640f3d5e380baab6d8099aad9580-->commented text<!--end-integrated-comment--> not commented text</p>
If you don't like the html comments in your source code you can filter it with twig filter "remove_comments"
{{ content.content|remove_comments }}
This bundle is under the MIT license. See the complete license in the bundle:
LICENSE
Pull requests are welcome. Please see our CONTRIBUTING guide.
This bundle is part of the Integrated project. You can read more about this project on the Integrated for Developers website.