When selecting text to add a link, it does the other way around and adds the selected text in the link area, and puts the cursor in the title area.

  • AllYourSmurf@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    Looks like the link creator button expects a URL and adds the place for the anchor text.

    Instead, it needs to detect a URL. It should also look at the clipboard and do the right thing with clipboard content.

    • LazaroFilm@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      Yes a regex checking for a valid URL would do. If valid, place selection in link, else place as title.