i am using different editor like ckeditor 4.01, tinymce, markitup with Wysiwyg module. everything is okay but available buttons can't move to toolbar, drag and drop not work. before i use Wysiwyg module, i used ckeditor module for ckeditor 4.01 and when i see the drag and drop problem i started tu use Wysiwyg module. but now, Wysiwyg module' drag and drop not work and i can't add button to toolbar.

CommentFileSizeAuthor
issue.PNG44.08 KBerata

Comments

twod’s picture

Status: Active » Fixed

Wyswiyg module doesn't currently support reordering buttons from the profile editing GUI because the toolbars work differently across all editors it supports and there has been no time for us to do that right earlier.

here is however work in progress patches over in #277954: Allow to sort editor buttons and already patched code available in the sort_buttons branch you can check out from the git repository (the branch is based on 7.x-2.x). It isn't as fancy looking as the GUI in ckeditor.module yet, but it's fully functional.

If you want to run a stable version of Wysiwyg module without patches, you can implement hook_wysiwyg_editor_settings_alter() in your own Drupal module and set the button order/grouping/rows for the toolbar using code. Some people have already put up various implementations over in #829266: Fixing toolbar for the CKeditor / Using the settings hook.

Note that support for CKEditor 4 isn't part of the sort_buttons patch (we're working on that in #1853550: Ckeditor 4.0 - The version of CKEditor could not be detected.) so you'll have to apply patches from that issue on top and you may have to fix a few conflicts to get it to apply).

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.