• doiches

    (@doiches)


    Hi everyone,
    i am just trying to disable the two buttons which appears in the left corner of an image when it is inserted in the tinymce before publishing the post.
    I have already modified the media.php to forece the user to insert images in the post, but no idea how to disable this two ****** buttons.
    thankx

    [mod- next time please: http://codex.ww.wp.xz.cn/Forum_Welcome#Choose_A_Good_Topic_Title ]

Viewing 2 replies - 1 through 2 (of 2 total)
  • jsuna30

    (@jsuna30)

    hi! you could try disabling the click function on the image…

    <script type="text/javascript">
     jQuery(document).ready(function($){
      $('img').live('click',function(e){
        e.preventDefault();
        return false;
      });
    });
    </script>

    I haven’t tested it but should do what you need…

    Thread Starter doiches

    (@doiches)

    Thanks 4 the reply jsuna30,
    i spent yesterday all the day digging into the tinymce folder and i found out there is another folder called plugins/wpeditimage which contains the file which configured the editor. I tryed to delete it and a couple of erros were returned and i could not access my site. so i search 4 the call and comment it, adn woala

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘ANy help pliz!!!’ is closed to new replies.