Skip to content

Conversation

@bembelimen
Copy link
Contributor

At the moment every user gets the same tinyMCE button structure, regardless of his/her permissions/access level.
With this patch, all buttons from the complete mode can be linked to an access level, so you can customise the editor by access level.

Test:

  1. Set the editor mode to "complete"
  2. Apply patch => editor should work as before (so no B/C issues)
  3. Look into the editor parameters, here you can now define access levels on the second tab
  4. Play with the different combinations and see how the editor buttons change

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you change this for a reason?

TinyMCE is owned by Ephox Corporation since some versions ;) see: http://blog.tinymce.com/2015/06/23/we-are-joining-ephox-the-start-of-something-great/

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahh wrong line but i think the other lines here needs to be reverted as well ;)

@bembelimen
Copy link
Contributor Author

@zero-24 yep, I used the original Joomla! header (from 3.4.5), so yeah, I reverted it. Thanks

@bembelimen
Copy link
Contributor Author

I also fixed the missspelled "colour => color"

@zero-24
Copy link
Contributor

zero-24 commented Oct 24, 2015

I have tested this item ✅ successfully on 2bd8ed6

👍 Works good here.


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

@zero-24 zero-24 added this to the Joomla! 3.5.0 milestone Oct 24, 2015
@zero-24
Copy link
Contributor

zero-24 commented Oct 24, 2015

Just marked as new feature for 3.5.0 looks great to me.


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

@zero-24
Copy link
Contributor

zero-24 commented Oct 24, 2015

maybe we need to update the description as well? Currently we have there: Something like Turn on/off to enable the alignment of the text. Only works in Extended mode.


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

@matrikular
Copy link
Contributor

I have tested this item ✅ successfully on 2bd8ed6

While the patch works as advertised, I aggree that the language strings should be changed as well.


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

@dgrammatiko
Copy link
Contributor

YES! Thanks @bembelimen. Looks like tinyMCE is set to regain it’s lost reputation…
@test OK

@matrikular
Copy link
Contributor

@bembelimen, @zero-24, @DGT41 I would like to hear your opinion on whether it is a good idea to change all language strings for the affected fields or just extend the following message to e.g.

Extended Mode Options
Below you can set the access level for each one of the fields individually.
Please keep in mind that these options will only have an effect in Extended mode.

On second thought I'd like to change all message and even remove the redundant "Only applies / works in Extended mode" suffix. What do you think?

@bembelimen
Copy link
Contributor Author

I like the idea of removing "only applies..." on each field with the extended headline. But I'm not sure, if you can leave the other description on every field:
"Turn on/off..." e.g.

@dgrammatiko
Copy link
Contributor

@matrikular the three levels (basic, advance and extended) was a way to get different levels of permission (also served as a way to quickly setup the editor) to user needs. With this PR this is totally useless and what would make sense is to restructure the plugin so each plugin and button can be assigned to certain access level. But then again that would break B/C?
Now about the strings I would go with a single field note with the text you provided above, the easiest solution...

@bembelimen
Copy link
Contributor Author

To make the other levels useless, we have to add the permissions to every button. But yeah, if we do that, it will totaly breaks B/C and this feature will come not before 4.x.
The future plan is to do exactly this, but I want the first step in 3.5, so we have to take care of B/C.

If this PR will be accepted, I'll try to extend the plugin to support all buttons and (perhaps) move them on the toolbar (for J! 4.x)

@joomla-cms-bot
Copy link

This PR has received new commits.

CC: @DGT41, @matrikular, @zero-24


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

@joomla-cms-bot joomla-cms-bot added the Language Change This is for Translators label Oct 25, 2015
@bembelimen
Copy link
Contributor Author

@matrikular improved and fixed the language strings.
Thank you

@joomla-cms-bot
Copy link

This PR has received new commits.

CC: @DGT41, @matrikular, @zero-24


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

@chmst
Copy link
Contributor

chmst commented Oct 25, 2015

@test successful

@dgrammatiko
Copy link
Contributor

@bembelimen can you rebase this one to 3.5-dev? The code for tinymce.php is a lot different is the two repos (staging and 3.5-dev). I would test it immediately!

@dgrammatiko
Copy link
Contributor

@bembelimen Forget my last comment
@test ok

@dgrammatiko
Copy link
Contributor

I have tested this item ✅ successfully on 30adc4a


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

@dgrammatiko
Copy link
Contributor

@bembelimen can you resync it, as it got conflicts right now?

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Nov 2, 2015
@roland-d
Copy link
Contributor

roland-d commented Nov 2, 2015

It shouldn't be rebased to 3.5-dev as we only use staging now. Only need the conflicts merged and we are ready to merge.

@Kubik-Rubik
Copy link
Member

Thank you @bembelimen and testers. Solved conflicts and merged with b269c7b!

@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Nov 4, 2015
@brianteeman
Copy link
Contributor

This was merged - looks like the tracker didnt close


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

@brianteeman
Copy link
Contributor

Stupid bot


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

@infograf768
Copy link
Member

Set to "closed" on behalf of @infograf768 by The JTracker Application at issues.joomla.org/joomla-cms/8147

@infograf768
Copy link
Member

hmm

@joomla-cms-bot
Copy link

CLOSED!

@bembelimen bembelimen deleted the patch-10 branch May 15, 2018 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature Language Change This is for Translators

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants