Closed martinopic closed 6 years ago
Currently there is no way to handle events, it would be nice to have an additional options for the type:
$builder->add( "yourField", FroalaEditorType::class , array('froalaEvents' => array('eventName' => 'functionName'))
I've already implemented this on an extension I made for a project but I think it would made a nice addition to the bundle, if you are interested I'd make a pull request.
You're right it's a good idea. I can merge your PR or add this in the next update.
Currently there is no way to handle events, it would be nice to have an additional options for the type:
I've already implemented this on an extension I made for a project but I think it would made a nice addition to the bundle, if you are interested I'd make a pull request.