Skip to content

Commit

Permalink
Update onDisplay method with default variable values
Browse files Browse the repository at this point in the history
  • Loading branch information
ryandemmer committed Oct 25, 2024
1 parent 886dc04 commit b6ef4fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/editors/jce/src/PluginTraits/DisplayTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ public function onInit()
*
* @return string
*/
public function onDisplay($name, $content, $width, $height, $col, $row, $buttons = true, $id = null, $asset = null, $author = null, $params = array())
public function onDisplay($name, $content, $width = '100%', $height = '500', $col = 20, $row = 4, $buttons = true, $id = null, $asset = null, $author = null, $params = array())
{
if ($this->isEditorEnabled() === false) {

Expand Down

0 comments on commit b6ef4fa

Please sign in to comment.