Skip to content

Commit

Permalink
Added note about string and array values for toolbar method
Browse files Browse the repository at this point in the history
  • Loading branch information
vinkla committed Oct 18, 2023
1 parent 9874e5c commit 1fbd34d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Fields/WysiwygEditor.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ public function tabs(string $tabs): static
}

/**
* If `string` is passed, it will be used as the toolbar name. If `array` is passed, it will be used as the toolbar buttons.
* @param string|array $toolbar aligncenter, alignleft, alignright, blockquote, bold, bullist, charmap, forecolor, formatselect, fullscreen, hr, indent, italic, link, numlist, outdent, pastetext, redo, removeformat, spellchecker, strikethrough, underline, undo, wp_adv, wp_help, wp_more
*/
public function toolbar(string|array $toolbar): static
Expand Down

0 comments on commit 1fbd34d

Please sign in to comment.