?
avatar C-Lodder
C-Lodder
6 Jul 2020

Steps to reproduce the issue

  1. Go to your Plugin Manager and open TinyMCE
  2. Click the medium and advanced preset buttons

You'll notice below the TinyMCE toolbar changes based on the preset chosen.

  1. Click the simple preset button

Expected result

A TinceMCE toolbar containing a few options, similar to: https://www.tiny.cloud/docs/demo/basic-example

Actual result

Toolbar is empty

avatar C-Lodder C-Lodder - open - 6 Jul 2020
avatar joomla-cms-bot joomla-cms-bot - change - 6 Jul 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 6 Jul 2020
avatar brianteeman
brianteeman - comment - 6 Jul 2020

Confirmed

avatar Quy
Quy - comment - 6 Sep 2020

@Fedik Can you see why clicking Use simple reset results in no buttons in toolbar? Thank you.

30014

avatar Fedik
Fedik - comment - 6 Sep 2020

I suspect the array key should be called toolbar1 instead of toolbar at

$preset['simple'] = [
'menu' => [],
'toolbar' => [
'bold', 'underline', 'strikethrough', '|',
'undo', 'redo', '|',
'bullist', 'numlist', '|',
'pastetext', 'jxtdbuttons'
],
'toolbar2' => [],
];

as for other presets

but I cannot test currently, will check some time later

avatar Quy
Quy - comment - 6 Sep 2020

@Fedik You are correct! Thank you! See PR #30583

avatar Quy Quy - change - 6 Sep 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-09-06 20:22:32
Closed_By Quy
avatar Quy Quy - close - 6 Sep 2020

Add a Comment

Login with GitHub to post a comment