WordPress.org

Ready to get started?Download WordPress

Forums

<del> tag adding datetime stamp in 1.5 (3 posts)

  1. sahdoggiemom
    Member
    Posted 8 years ago #

    Just upgraded to 1.5 over the weekend, and here's what I got when I highlighted "Because" and clicked the <del> tag when writing a post:

    <del datetime="2005-06-06T17:11:3305:00">Because </del>

    Datetime? Huh? Anyone know what's causing this and more importantly, how I can fix it?

    Thanks!

  2. Mark (podz)
    Support Maven
    Posted 8 years ago #

    Hi !

    It's apparently the correct behaviour as it is indicating when the line was struck out. 3 Options:
    - leave it
    - manually delete the stuff you don't want
    - or ask where to edit :)

    (I'll go work on 3 ...)

  3. Mark (podz)
    Support Maven
    Posted 8 years ago #

    Download and open the file 'quicktags.js' with Notepad (or similar)
    lines 69 to 75 look like this:
    edButtons[edButtons.length] =
    new edButton('ed_del'
    ,'del'
    ,'<del datetime="' + datetime + '">'
    ,'</del>'
    ,'d'
    );

    Change it to
    edButtons[edButtons.length] =
    new edButton('ed_del'
    ,'del'
    ,'<del>'
    ,'</del>'
    ,'d'
    );

    That'll sort it :)

Topic Closed

This topic has been closed to new replies.

About this Topic