WordPress 2.5 Underlining all image uploads (2 posts)

  1. 8bitkid
    Posted 8 years ago #

    this code is being inserted every time i upload a picture:

    <span style="color: #0000ee; text-decoration: underline;">

    i don't have this specified anywhere in my css. it is quite annoying to have to remove it manually.

  2. actionjacob
    Posted 8 years ago #

    It took me a couple of hours, but I found it.

    The file to edit is /wp-includes/js/tinymce/plugins/safari/editor_plugin.js and what you have to change is this:

    case'u':st='text-decoration: underline;';
    case'u':st='text-decoration: none;';

    Why is this in the safari folder? Good question, but it solved my problem and I tried posting with Safari, Firefox and Internet Explorer and it all worked fine.

Topic Closed

This topic has been closed to new replies.

About this Topic