Can not change editor at /admin/settings/wysiwyg

Events happening in the community are now at Drupal community events on www.drupal.org.
radoeka's picture

at the wysisyg configuration page (/admin/settings/wysiwyg) I have 2 profiles associated with 2 different editors, like this:

Filtered HTML FCKeditor Change Delete
Full HTML TinyMCE Change Delete

Both editors work as expected when processing content.

But I'm not able to change the FCKeditor into (e.g.) TinyMCE, or no editor at all. The same is valid for TinyMCE. I expect I dropdown menu when I click with my mouse on e.g. FCKeditor, showing me 3 options (FCKeditor, TinyMCE, no editory). Is this assumption correct, should there be a dropmenu? If so, what can be the reason that the dropmenu does not appear?

If my assumption about the dropmenu is not correct, how can I change the editor for a particular input filter?

TIA,

Richard

Comments

Disabled once there's a profile

Brigadier's picture

I just looked at the site I'm working on and it behaves the same way. I had a look in the code and it appears to be by design. From a quick look at the code that creates the form it appears that once there's a profile for an editor the dropdown on the overview form is disabled.

That was all I looked at but I'd guess that the reason for it is that profiles for the different editors are different and the wysiwyg module only stores one (again, just a guess, I never looked into this part of the code).

You can probably choose another editor if you delete the existing profile, not sure though.

radoeka's picture

You can probably choose another editor if you delete the existing profile, not sure though.

It's indeed possible to assign another editor, after removing the association. At first I thought that the "delete" action would remove the 'input filter' profile, but that's (of course) not the case. The delete action removes the input filter <-> editor association. But if I can assign another editor by removing the existing association and than assign the new one, why would that not be possible in 1 go via the drop menu? Looks like a (usability) bug to me.

It's helpful little tips like

mark@redhorseinteractive.com's picture

It's helpful little tips like this that renew one's confidence in Drupal. thx.

Maybe

Brigadier's picture

It would indeed be nice if you could just pick from the dropdown without deleting first, but if the module's going to delete your existing profile when you do that... I think it's the best design given the current functionality. I had a look at the status page and it looks like there's active work happening on profiles, so I expect that ui will improve.

I see

radoeka's picture

An improvement would be, if the GUI wouldn't show the editor's value in a dropdown menu look a like box. If the editor is written in plain text, the dropdown menu feeling would not be triggered.

Anyway, I'll be patient and see how things will develop.

Brigadier: thanks for your answers, they clarified the page for me!

Wysiwyg

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: