![]() You can install yii2-editors via composer package manager. If ($uploadedFile->saveAs(Yii::app()->basePath. The yii2-editors extension can be installed automatically or manually using one of these options: Composer Package Manager Recommended Installation via Composer is the recommended and most easy option to install Krajee Yii2 extensions. $fileName = "" // random number + file name $rnd = rand() // generate random number between 0-9999 ![]() $uploadedFile = CUploadedFile::getInstanceByName('file') The problem is that when I add code with using the code interface, all DIV tags are converted automatically to P tags. 'imageGetJson' => Yii::app()->createAbsoluteUrl('admin/event/listImages')))) ?> 1 I installed a blog module that allows me to add blogs to my Yii2 app. RedactorRow($model,'descr', array('options' => array('imageUpload' => Yii::app()->createAbsoluteUrl('admin/event/imageUpload'), If you click cancel on the upload window then re-open it, the file I uploaded. The image uploads work, but after you select the file to upload the file is transferred and stored but does not show in the window to insert it into the editor area. It’s a current version of redactor (Dec 2012 I believe). I think Yii purchased an OEM license, so I can download it for free if I am using it for Yii, right How do I download it for free Yii extension for Redactor. If you click cancel on the upload window then re-open it, the file I uploaded shows up in the list of files on the server and can be inserted.ĮDIT: Got it working, here’s the controller code for those interested. I’m trying to implement file uploads using the redactor editor bundled with Yii-booster. The Yii extension for Redactor directs me to the Redactor website to download the code, but I am presented with a 'Buy Redactor' page. It seems that we have a little bit of mess with Redactor (or am I the only one that sees things like that?) and it would be nice to clean things out.I’m trying to implement file uploads using the redactor editor bundled with Yii-booster. It would be nice, if other extensions authors would decide / inform users on their extension’s websites, whether they’re going to continue their work on their own versions of extensions or stop development, use their time to further develop “official” extension and place some info on extension’s website. hello, some days ago Russian Yii comminuty decided to start gathering of money (total sum - 400) for buying license for beautiful WYSIWYG redactor (created by Imperavi Team Developers). Which one is official, which one will be supported and further developed in the future and therfore – which one new projects should use?Īre other (than official?) extensions also covered by OEM license purchased by the community? First of all, we are not impatient, install Redactor first. Redactor has an official Yii2 plug-in package, which is also very practical. Personally, I think Redactor is easier to use than Baidu editor. It seems that we have THREE Redactor extensions: Today we will talk about the integration of yii2, another powerful and easy-to-use rich text editor Redactor. ![]() Many thanks to all, who donated to buying this license!Ĭan someone explain, which version of Redactor extension is official one, supported by community after buying OEM license? Now we have OEM license and here’s an extension: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |