• sylday

    (@sylday)


    Can someone tell me how to hack quicktags to make the links external in 1.5?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter sylday

    (@sylday)

    Oh, Podz. I don’t understand that. This is what I used to have:

    function edInsertLink(myField, i, defaultValue) {
    if (!defaultValue) {
    defaultValue = 'https://';
    }
    if (!edCheckOpenTags(i)) {
    var URL = prompt('Enter the URL' ,defaultValue);
    if (URL) {
    edButtons[i].tagStart = '';

    I can’t figure out how to do the same in the new quicktags. Can you help me more specifically?

    Thread Starter sylday

    (@sylday)

    Sorry about the link. *blushing*

    Line 226 ..

    + "</a>";

    You could try
    + '"rel="external" '</a>

    (I didn’t realise they had changed – I’ve been using the same quicktags file with bits added here and there for ages…)
    (I think I may have the ‘ and ” messed up there too)

    Thread Starter sylday

    (@sylday)

    Well, I found the code and added the external and it’s still not working. I can’t figure out why. It should work. Hmmm…

    Thread Starter sylday

    (@sylday)

    Got it! ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘help with hacking quicktags’ is closed to new replies.