Ticket #606 (closed defect: fixed)

Opened 3 months ago

Last modified 3 days ago

Remove button for embeded items

Reported by: selad Assigned to: somebody
Priority: normal Milestone:
Component: component1 Version:
Severity: normal Keywords:
Cc:

Description

In the visual editor's extended buttons, the embedding button should be removed. The code it insert is removed by kess.

Change History

06/10/08 19:01:00 changed by momo360modena

  • status changed from new to closed.
  • resolution set to invalid.

Just do a mu-plugins for edit the KSES Filter ?

06/11/08 05:06:31 changed by mark-k

  • status changed from closed to reopened.
  • resolution deleted.

There is no reason to have a functionality in the core which requires a plugin in order to work....

IMHO the easiest way to to fix this is to remove 'media' from the $plugins and $mce_buttons_2 arrays in tiny_mce_config.php

06/11/08 13:37:32 changed by drmiketemp

I disagree as in this case media also included uploaded images.

06/12/08 10:32:35 changed by mark-k

drmiketemp, with which part do you disagree, removing the button from the tinymce, or the hack?

07/22/08 11:35:17 changed by donncha

  • status changed from reopened to closed.
  • resolution set to fixed.

Added remove_tinymce_media_button() in [1392]. If you want the original behaviour, you can remove the filter using this line of code:

remove_filter( 'mce_buttons_2', 'remove_tinymce_media_button' );

Add that in a function called by init.