? Pending

User tests: Successful: Unsuccessful:

avatar infograf768
infograf768
15 Jun 2017

Pull Request for Issue #15370

Summary of Changes

The plugin loads the skin.min.css where we have

i.mce-i-backcolor {
    background: #bbb none repeat scroll 0 0;
    text-shadow: none;
}

which can't be loaded as the code uses <span>

changed to <i>

Testing Instructions

Edit the TinyMCE plugin

Before patch we get
screen shot 2017-06-15 at 11 02 35

After patch we have
screen shot 2017-06-15 at 10 56 44

avatar infograf768 infograf768 - open - 15 Jun 2017
avatar infograf768 infograf768 - change - 15 Jun 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 15 Jun 2017
Category JavaScript External Library
avatar Quy
Quy - comment - 15 Jun 2017

I have tested this item successfully on 64b605a


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/16702.

avatar Quy Quy - test_item - 15 Jun 2017 - Tested successfully
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 15 Jun 2017

I have tested this item successfully on 64b605a


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/16702.

avatar franz-wohlkoenig franz-wohlkoenig - change - 15 Jun 2017
Status Pending Ready to Commit
avatar franz-wohlkoenig franz-wohlkoenig - test_item - 15 Jun 2017 - Tested successfully
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 15 Jun 2017

RTC after two successful tests.

avatar infograf768
infograf768 - comment - 15 Jun 2017

@rdeutz i guess this small one can get in 3.7.3

avatar rdeutz
rdeutz - comment - 15 Jun 2017

I think is the better choice seems wrong to me, couldn't we add css to cover the use case?

avatar Fedik
Fedik - comment - 15 Jun 2017

@rdeutz I think the fix made by @infograf768 is correct,
because tinymce-builder.js tries to imitate the TinyMCE markup to display the toolbar in the same way ?

avatar infograf768
infograf768 - comment - 16 Jun 2017

@rdeutz
the tinymce css are loaded in this UI for these buttons. The issue was that they use instead of which therefore created this little discrepancy. We do not need to add/create new css.

See https://github.com/joomla/joomla-cms/blob/staging/layouts/plugins/editors/tinymce/field/tinymcebuilder.php#L55

avatar dgt41
dgt41 - comment - 16 Jun 2017

@rdeutz this is one of the exceptions that we have to have since we don't want to touch the CSS file of tinymce, so restoring the <i> here is ok

avatar rdeutz rdeutz - change - 19 Jun 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-06-19 07:24:05
Closed_By rdeutz
Labels Added: ?
avatar rdeutz rdeutz - close - 19 Jun 2017
avatar rdeutz rdeutz - merge - 19 Jun 2017

Add a Comment

Login with GitHub to post a comment