Quill: Trying to open a added link without http:// or https://

Created on 12 Feb 2019  路  3Comments  路  Source: quilljs/quill

Steps for Reproduction

  1. Visit https://quilljs.com/playground/
  2. Insert the add link option (['link'] inside toolbar)
  3. Add a link without http:// or https:// (Eg. www.google.com)
  4. Try to open the link

Expected behavior:
Open the added link on another tab

Actual behavior:
It tries to open the link inside the actual link that you're using

Platforms:

All browsers

Most helpful comment

I am still having the problem, when i click to open a url, it opens in a new tab, but it prepends to existing source url.

All 3 comments

+1

I can't reproduce.
The Link format sets target="_blank" on the a element so it should open in a new tab.

<a href="www.google.com" target="_blank">google</a>

I am still having the problem, when i click to open a url, it opens in a new tab, but it prepends to existing source url.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sferoze picture sferoze  路  3Comments

CHR15- picture CHR15-  路  3Comments

Yves-K picture Yves-K  路  3Comments

splacentino picture splacentino  路  3Comments

lastmjs picture lastmjs  路  3Comments