? Pending

User tests: Successful: Unsuccessful:

avatar wojsmol
wojsmol
19 Aug 2018

Pull Request for Issue #21711

Summary of Changes

CMS Content button in TinyMCE editor is only displayed when needed.

Testing Instructions

If you have a form with a "custom" editor field you see it. Otherwise edit the article form in administrator/components/com_content/forms/article.xml

  • Change buttons="true" to buttons="false" for field-name articletext
  • Open New Article
  • The CMS Content drop-down button is there with an empty drop-down list.
    44307173-06db5d80-a39e-11e8-84c8-dd56f3ab0f7a
    Example:
<field
      name="descripton" 
      type="editor" 
      ==>    buttons="false" 
      filter="JComponentHelper::filterText"
      height="200" 
     label="COM_MYCOMP_FIELD_DESCRIPPTION_LABEL"/>

Expected result

No button

Actual result

Button is there

Documentation Changes Required

N/A

cc @schnuti @dgrammatiko

This PR requires npm for testing.

avatar wojsmol wojsmol - open - 19 Aug 2018
avatar wojsmol wojsmol - change - 19 Aug 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 19 Aug 2018
Category JavaScript Repository
avatar wojsmol wojsmol - change - 19 Aug 2018
The description was changed
avatar wojsmol wojsmol - edited - 19 Aug 2018
avatar wojsmol wojsmol - change - 19 Aug 2018
Title
tinyMCE - unwanted CMS Content dropdown button
[4.0]tinyMCE - unwanted CMS Content dropdown button
avatar wojsmol wojsmol - edited - 19 Aug 2018
avatar wojsmol
wojsmol - comment - 19 Aug 2018

closing in favour of the #21725

avatar wojsmol wojsmol - change - 19 Aug 2018
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2018-08-19 15:17:00
Closed_By wojsmol
Labels Added: ?
avatar wojsmol wojsmol - close - 19 Aug 2018

Add a Comment

Login with GitHub to post a comment