Skip to content

Commit

Permalink
neat
Browse files Browse the repository at this point in the history
  • Loading branch information
brianteeman committed Jan 12, 2020
1 parent 7e187d0 commit 7317d2d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions plugins/editors/tinymce/tinymce.php
Original file line number Diff line number Diff line change
Expand Up @@ -390,10 +390,6 @@ public function onDisplay(
$resizing = 'both';
}


// Check if the context menu should be displayed
$contextmenu = (bool) $levelParams->get('contextmenu', true);

// Set of always available plugins
$plugins = array(
'autolink',
Expand Down Expand Up @@ -600,9 +596,9 @@ public function onDisplay(
'width' => $html_width,
'resize' => $resizing,
'templates' => $templates,
'contextmenu' => $contextmenu,
'image_advtab' => (bool) $levelParams->get('image_advtab', false),
'external_plugins' => empty($externalPlugins) ? null : $externalPlugins,
'contextmenu' => (bool) $levelParams->get('contextmenu', true) ? null : false,

// Drag and drop specific
'dndEnabled' => $dragdrop,
Expand Down

0 comments on commit 7317d2d

Please sign in to comment.