Closed (fixed)
Project:
Wysiwyg
Version:
7.x-2.x-dev
Component:
Editor - CKEditor
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
11 Aug 2021 at 13:32 UTC
Updated:
1 Nov 2023 at 12:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
sinduriComment #3
sinduriComment #4
klausiThanks Sinduri!
I think this is not the correct approach. I just tested the settings in wysiwyg_ckeditor_settings():
And the 2 tabs get hidden correctly with ckeditor 4.x.
So it would be the best if we make config options for the link plugin in wysiwyg_ckeditor_settings_form(), then users can configure those 2 options in their editor profile?
Comment #5
sinduriComment #6
sinduriComment #7
sinduriHi Klausi,
Thanks a lot for the review. I changed the approach and created a new patch to give users the option to hide/show Advanced and Target tabs for Link plugin. Can you please review again.
Thank you very much!
Comment #8
klausiThank you, this approach also works for me! Found some small problems:
I think we don't want to change the default behavior from before - they should be TRUE per default and then users can change the setting.
Thanks, but I think the logic is reversed: If I check the checkbox then the advanced tab is shown.
Can we make this less confusing by avoiding negations?
So use the name "Show advanced tab" - if it is checked then it should be shown. That also better matches the setting name "linkShowAdvancedTab". Same for the target tab.
Comment #9
sinduriComment #10
sinduriComment #11
sinduriHi Klausi :)
Thank you very much for the feedback. I made the necessary changes. Can you please review again when you have the time?
Thanks a lot!
Comment #12
klausiNice, looks good to me now!
Setting this to the dev version since it should be committed there.
Comment #13
sinduriThanks a lot Klausi for the support and the feedback! :)
Comment #14
steinmb commentedComment #17
kunal_sahu commentedI have created an MR . please merge thanks
Comment #20
twodThanks all!