Configure Add to config file (config/web.php or common\config\main. Either run php composer.phar require -prefer-dist yiidoc/yii2-redactor '' or 'yiidoc/yii2-redactor': '' to the require section of your composer.json. ImperaviRedactorWidget is a wrapper for Imperavi Redactor, a high quality WYSIWYG editor. Secondly, when i just define ‘attribute’ => ‘text’ (that is the attribute for the entry in the table im using redactor for) it loads allright, but when i try to upload the image, it thinks for a short while, but no image is uploaded. Installation The preferred way to install this extension is through composer. Imperavi Redactor 10.2.3 Widget For Yii2. I have a few questions regarding it, first off: What is the ‘attribute’=>$attribute supposed to be? I just dont understand what string it would need there. Contribute to yiidoc/yii2-redactor development by creating an account on GitHub. #8 /home/me/sites/www/vendor/yiisoft/yii2/console/controllers/HelpController.Anyone got the imageUpload from the Yii-Redactor-extension to work? Extension Redactor WYSIWYG for Yii2 framework. #7 /home/me/sites/www/vendor/yiisoft/yii2/console/controllers/HelpController.php(293): yii\console\controllers\HelpController->getCommandDescriptions() #6 /home/me/sites/www/vendor/yiisoft/yii2/console/controllers/HelpController.php(187): yii\console\controllers\HelpController->getCommands() 20 0 50 followers 6 634 downloads Yii Version: 1. It has a hybrid interface that can be customized according to your needs. Suitable for creating and editing common texts for the web, which may also include images, video, embed code. (3.562 KiB) Redactor Widget v1.0 Released on downloaded 2,214 times. Redactor X A simple and fast tool for everyday tasks of creating and editing texts on the web. The problem is that when I add code with using the code interface, all DIV tags are converted automatically to P tags. #5 /home/me/sites/www/vendor/yiisoft/yii2/console/controllers/HelpController.php(175): yii\console\controllers\HelpController->getModuleCommands(Object(yii\console\Application)) Yii Framework Extensions redactor - Downloads Downloads yii-redactor-1.1.zip (7.37 KiB) Redactor Widget v1.1 Released on downloaded 4,904 times. 1 I installed a blog module that allows me to add blogs to my Yii2 app. #4 /home/me/sites/www/vendor/yiisoft/yii2/console/controllers/HelpController.php(238): yii\base\Module->getModule(‘redactor’) #3 /home/me/sites/www/vendor/yiisoft/yii2/base/Module.php(427): yii\BaseYii::createObject(Array, Array) Secondly, when i just define ‘attribute’ > ‘text’ (that is the attribute for the entry in the table im using redactor for) it loads allright, but when i try to upload the image, it thinks for a short while, but no image is uploaded. #2 /home/me/sites/www/vendor/yiisoft/yii2/BaseYii.php(349): yii\di\Container->get(‘yii\redactor\Re…’, Array, Array) #1 /home/me/sites/www/vendor/yiisoft/yii2/di/Container.php(156): yii\di\Container->build(‘yii\redactor\Re…’, Array, Array) #0 /home/me/sites/www/vendor/yiisoft/yii2/di/Container.php(365): yii\di\Container->getDependencies(‘yii\redactor\Re…’) In /home/me/sites/www/vendor/yiisoft/yii2/di/Container.php:433 I think this started after upgrading to php 7.2Įxception ‘yii\base\InvalidConfigException’ with message ‘Failed to instantiate component or class “yii\redactor\RedactorModule”.’ Yii Framework Forum PHP7.2 Fail to instantiate yii\redactor\RedactorModule' Yii 2.0 Installation and Setup steward (Steward) March 10, 2019, 7:12pm 1 I think this started after upgrading to php 7.2 I have no clue where to start looking.
0 Comments
Leave a Reply. |