Closed msalahat closed 9 years ago
This is what I was talking about in issue https://github.com/yiidoc/yii2-redactor/issues/16. I was about to create a pull request, thanks msalahat
It is good idea, otherwise you can run getAlias on init stage.
Thanks for your pull. i have refactor module using yii2 features available for Redactor 10.1.1. I did in brief your idea. https://github.com/yiidoc/yii2-redactor/blob/master/RedactorModule.php#L47 https://github.com/yiidoc/yii2-redactor/blob/master/RedactorModule.php#L72
uploadURL configuration should be checked for having "Alias" and resolve it if found, and this what I did