We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f82a4d commit 0e38819Copy full SHA for 0e38819
README.md
@@ -23,7 +23,7 @@ to the require section of your application's `composer.json` file.
23
24
## Usage
25
26
-For example to use the datepicker with a [[\yii\base\Model|model]]:
+For example to use the pell editor with a [[\yii\base\Model|model]]:
27
28
```php
29
echo Pell::widget([
@@ -32,6 +32,18 @@ echo Pell::widget([
32
]);
33
```
34
35
+Inside form without model:
36
+
37
+ ```php
38
+$value = 'textarea some content';
39
40
+echo \coderius\pell\Pell::widget([
41
+ 'name' => 'textarea-name',
42
+ 'value' => $value,
43
+ 'clientOptions' =>[]
44
+]);
45
+```
46
47
The following example will used not as an element of form:
48
49
0 commit comments