Closed (fixed)
Project:
CKEditor 4 - WYSIWYG HTML editor
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Nov 2011 at 22:09 UTC
Updated:
29 May 2012 at 11:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
djg_tram commentedThe patch.
Comment #2
rooby commentedOne note - The patch in the duplicate issue #1371466-1: Show Rich text editor settings fieldset appears on all profile forms, not just the main account one also moves the module_load_include() call inside the if statement so it isn't loaded unnecessarily.
I think that would be a good idea for this patch.
Comment #3
djg_tram commentedJust post that slightly different patch here, I guess that's the easiest solution.
Comment #4
megachrizI also came across this problem. The attached patch includes the change from rooby from that other issue, but also changes the hook implementation. Instead of a general hook_form_alter(), the hook hook_form_FORM_ID_alter() is now used, since only one form is altered. This gains a little bit of performance, since implementations of hook_form_alter() are called for every form.
Regarding the module_load_include(): it looks unnecessary to call that, as in line 48 of the module file, the file 'includes/ckeditor.user.inc' is already included:
Comment #5
megachrizMarked issue #1170120: Cleaning up user interface as a duplicate of this one.
Comment #6
mkesicki commentedThank you for patch we try check this as soon as possible.
Comment #7
dczepierga commented@MegaChriz, really thx for patch.
I commit it to GIT (diff).
Pls check last DEV version and write if it doesn't work.
Greetings