src/Wysihtml5.php
protected function registerClientScript()
    {
        $view = $this->getView();
        Wysihtml5Asset::register($view);

        $id = $this->options['id'];
        $options =  Json::encode($this->clientOptions);

        $js[] = "jQuery('#$id').wysihtml5($options);";
        $view->registerJs(implode("\n", $js));
    }
protected function registerClientScript()
    {
        $view = $this->getView();
        Wysihtml5Asset::register($view);

        $id = $this->options['id'];
        $options =  Json::encode($this->clientOptions);

        $js[] = "jQuery('#$id').wysihtml5($options);";
        $view->registerJs(implode("\n", $js));
    }
Registers wysihtml5 plugin and the related events