Skip to content

Commit

Permalink
Additional cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
haringsrob committed Jan 24, 2023
1 parent a519be3 commit fe35fb8
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions docs/content/1_documentation/4_form-fields/wysiwyg.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
```php
Wysiwyg::make()
->name('case_study')
->toolbarOptions(['list-ordered', 'list-unordered'])
->toolbarOptions([ [ 'header' => [1, 2, false] ], 'ordered', 'bullet' ])
->maxLength(200)
->note('Some note')
```
Expand All @@ -20,7 +20,6 @@ Wysiwyg::make()
<x-twill::wysiwyg
name="case_study"
:label="twillTrans('Case study text')"
:toolbar-options="['list-ordered', 'list-unordered']"
:placeholder="twillTrans('Case study placeholder')"
:maxlength="200"
:note="twillTrans('Help text')"
Expand All @@ -29,7 +28,7 @@ Wysiwyg::make()
<x-twill::wysiwyg
name="case_study"
:label="twillTrans('Case study text')"
:toolbar-options="[ [ 'header' => [1, 2, false] ], 'list-ordered', 'list-unordered', [ 'indent' => '-1'], [ 'indent' => '+1' ] ]"
:toolbar-options="[ [ 'header' => [1, 2, false] ], 'ordered', 'bullet' ]"
:placeholder="twillTrans('Case study placeholder')"
:edit-source="true"
:translated="true"
Expand All @@ -45,7 +44,6 @@ Wysiwyg::make()
@formField('wysiwyg', [
'name' => 'case_study',
'label' => 'Case study text',
'toolbarOptions' => ['list-ordered', 'list-unordered'],
'placeholder' => 'Case study text',
'maxlength' => 200,
'note' => 'Hint message',
Expand All @@ -54,7 +52,7 @@ Wysiwyg::make()
@formField('wysiwyg', [
'name' => 'case_study',
'label' => 'Case study text',
'toolbarOptions' => [ [ 'header' => [1, 2, false] ], 'list-ordered', 'list-unordered', [ 'indent' => '-1'], [ 'indent' => '+1' ] ],
'toolbarOptions' => [ [ 'header' => [1, 2, false] ],
'placeholder' => 'Case study text',
'maxlength' => 200,
'editSource' => true,
Expand Down

0 comments on commit fe35fb8

Please sign in to comment.