Download the PHP package stump90/yii2-redactor without Composer
On this page you can find all versions of the php package stump90/yii2-redactor. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package yii2-redactor
StuMP90/yii2-redactor
A redactor extension for Yii2 Framework. This version is a fork of yiidoc/yii2-redactor to allow some additional settings and options.
For install, replace "yiidoc/" with "stump90/" along with a repository if this has not been published on packagelist yet...
Changes
English (UK) language added
.size()
.size() replaced with .length for JQuery compatibility.
removePastedImages (default false)
Additional option to remove images pasted in to content (as base64 data) - less restrictive than pastePlainText.
removePastedImagesMessage (default blank)
Additional option to tell users the correct way to upload images.
authUserDir config option
Additional config option added - authUserDir (default blank, allowed characters a-zA-Z0-9 only) When set, this hides logged in user id's in file paths and uses a common folder for all logged in users. The guest user file path is still 'guest'.
Integrate Redactor-10-clipboardPaste-plugin
Integrated CFDan's clipboardPaste plugin and added clipboard upload action.
Source: https://github.com/CFDan/Redactor-10-clipboardPaste-plugin
Original yiidoc/yii2-redactor Readme:
Installation
The preferred way to install this extension is through composer.
Either run
or
to the require section of your composer.json.
Configure
Add to config file (config/web.php or common\config\main.php)
or if you want to change the upload directory.
to path/to/uploadfolder
default value @webroot/uploads
note: You need to create uploads folder and chmod and set security for folder upload reference: Protect Your Uploads Folder with .htaccess, How to Setup Secure Media Uploads
Config view/form
or not use ActiveField
or config advanced redactor reference Docs