Skip to content

Commit

Permalink
New version 1.0.17. Read more http://xdsoft.net/jodit/doc/index.html#…
Browse files Browse the repository at this point in the history
  • Loading branch information
xdan committed Jan 21, 2018
1 parent 28463cc commit c7ef58d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "yii2-jodit",
"version": "1.0.16",
"version": "1.0.17",
"description": "Jodit widget for Yii2",
"main": "index.js",
"scripts": {
Expand Down
7 changes: 7 additions & 0 deletions src/JoditWidget.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ class JoditWidget extends InputWidget {
*/
public $defaultSettings = [];

/**
* @var string|null Selector pointing to textarea to initialize redactor for.
* Defaults to null meaning that textarea does not exist yet and will be
* rendered by this widget.
*/
public $selector;

/**
* @var array {@link https://xdsoft.com/jodit/docs/ redactor options}.
*/
Expand Down

0 comments on commit c7ef58d

Please sign in to comment.