PHP code example of pepsit36 / summernotebundle
1. Go to this page and download the library: Download pepsit36/summernotebundle library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
pepsit36 / summernotebundle example snippets
new Pepsit36\SummernoteBundle\Pepsit36SummernoteBundle(),
class TestFormType extends AbstractType
{
public function buildForm(FormBuilderInterface $builder, array $options)
{
...
$builder->add('test_content', SummernoteType::class);
...
}
...
}