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
I've tried to add a plugin in option by add into 'options'=>array(plugin'=>'fontsize',) but it doesn't work.
The first try return 404 not found because the registerScriptFile don't have folder name of plugin while the default of Redactor is set to that, so it should have variable $plugin as foldername and script file as well.
I've tried to add a plugin in option by add into 'options'=>array(plugin'=>'fontsize',) but it doesn't work.
The first try return 404 not found because the registerScriptFile don't have folder name of plugin while the default of Redactor is set to that, so it should have variable $plugin as foldername and script file as well.
foreach ($plugins as $plugin) {
$cs->registerScriptFile($this->assetsUrl . '/plugins/' . $plugin .'/'. $plugin . '.js');
}
Second try with the plugin script has been successfully loaded, it doesn't work too.
Don't know the reason why, while using same script on example HTML works perfectly.
The text was updated successfully, but these errors were encountered: