![]() ![]() Reference: Protect Your Uploads Folder with. 'uploadDir' => => You need to create uploads folder and chmod and set security for folder upload 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. Or if you want to change the upload directory. Either run php composer. Installation The preferred way to install this extension is through composer. 'redactor' => 'yii\redactor\RedactorModule', yii2-redactor Extension redactor for Yii2 Framework. ConfigureĪdd to config file (config/web.php or common\config\main.php) 'modules' => [ I’ve followed directions on redactor’s github page and confirmed that yii2-redactor exists in the vendor/yiidoc folder, web. To the require section of your composer.json. ![]() The preferred way to install this extension is through composer.Įither run php composer.phar require -prefer-dist yiidoc/yii2-redactor "*" Original yiidoc/yii2-redactor Readme: Installation Integrated CFDan's clipboardPaste plugin and added clipboard upload action. The problem is that when I add code with using the code interface, all DIV tags are converted automatically to P tags. Integrate Redactor-10-clipboardPaste-plugin 1 I installed a blog module that allows me to add blogs to my Yii2 app. 'class' => 'yii\redactor\RedactorModule', The preferred way to install this extension is through composer. The guest user file path is still 'guest'. When set, this hides logged in user id's in file paths and uses a common folder for all logged in users. 'removePastedImagesMessage' => "Please upload images via filemanager or drag'n'drop",Īdditional config option added - authUserDir (default blank, allowed characters a-zA-Z0-9 only) 20 0 50 followers 6 634 downloads Yii Version: 1.1 License: (not set) Category: User Interface Tags: Editor, redactor, redactorjs, widget, wysiwyg, wysiwyg editor Developed by: janisto Created on: Last updated: 9 years ago Downloads yii-redactor-1.1. removePastedImagesMessage (default blank)Īdditional option to tell users the correct way to upload images. yii-redactor is free and unencumbered public domain software. removePastedImages (default false)Īdditional option to remove images pasted in to content (as base64 data) - less restrictive than pastePlainText. Changes English (UK) language added 'clientOptions' => [ Has not been published on packagelist yet. I can make a change according to my needs. Widget(' version is a fork of yiidoc/yii2-redactor to allow some additionalįor install, replace "yiidoc/" with "stump90/" along with a repository if this Ive been looking at what the correct way is to specify the editor options within Redactor using the YiiBooster widget. yii2-redactor Modifying for own use, Do not use this in your project. TextFieldRow($model,'headline',array('class'=>'span5','maxlength'=>255,'labelOptions' => array('label' => false), 'placeholder' => 'Overskrift')) ?> 'content' => $this->renderPartial('_form', array('model'=>$model), true) // $this->renderPartial('_view')īeginWidget('',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. ![]() 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. Anyone got the imageUpload from the Yii-Redactor-extension to work? ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |