php composer. Either run php composer.phar require -prefer-dist yiidoc/yii2-redactor '' or 'yiidoc/yii2-redactor': '' to the require section of your composer.json. The preferred way to install this extension is through composer. Installation The preferred way to install this extension is through composer. * array The options underlying for setting up Redactor plugin. yii2-redactor Extension redactor for Yii2 Framework. ![]() * \yii\helpers\Html::renderTagAttributes() for details on how attributes are being rendered. 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. #8 /home/me/sites/www/vendor/yiisoft/yii2/console/controllers/HelpController.* string Module Id already configured for Application Module Installation The preferred way to install this extension is through composer. #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() #5 /home/me/sites/www/vendor/yiisoft/yii2/console/controllers/HelpController.php(175): yii\console\controllers\HelpController->getModuleCommands(Object(yii\console\Application)) Yii 1.1.10 or above (Redactor requires jQuery 1.7. Installation Configure This is a clone and modified version of Yii2-Redactor Extension redactor for Yii2 Framework. I can make a change according to my needs. #4 /home/me/sites/www/vendor/yiisoft/yii2/console/controllers/HelpController.php(238): yii\base\Module->getModule(‘redactor’) yii2-redactor Modifying for own use, Do not use this in your project. #3 /home/me/sites/www/vendor/yiisoft/yii2/base/Module.php(427): yii\BaseYii::createObject(Array, Array) yii2 yii2-basic-app redactor Share Improve this question Follow asked at 0:35 Sao Ho 139 2 22 Redactor is flexibility, It means you just need to set its parent with but itself. I’ve followed directions on redactor’s github page and confirmed that yii2-redactor exists in the vendor/yiidoc folder, web. Yii-RedactorJS-Widget Using with a model Using with a model and a mini toolbar and different language Using with a model and custom toolbar options Using with a name and value Yii Widget for the WYSIWYG RedactorJS editor Project Page Examples Documentation Yii Widget Github Project Page Requirements JQuery > 1.7. #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…’) Yii Framework Extensions redactor - Downloads Downloads yii-redactor-1.1.zip (7.37 KiB) Redactor Widget v1. ![]() I've tried to edit their css but it didn't work. In /home/me/sites/www/vendor/yiisoft/yii2/di/Container.php:433 I'm using Yii2 Redactor box, extension from: I want to change size of the textarea but I don't know how, it not mention in their document. 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”.’
0 Comments
Leave a Reply. |