Wysiwyg-editor: Custom uri at character is prefixed with mailto:

Created on 1 Nov 2019  路  5Comments  路  Source: froala/wysiwyg-editor

Actual behavior.

I have added a ssh: schema to FroalaEditor.LinkProtocols. When I enter URI with at sign, e.g. ssh:[email protected], then it's prefixes with mailto: i.e. mailto:ssh%[email protected].

See also #3702

Expected behavior.

Do not prefix URIs in FroalaEditor.LinkProtocols

Editor version.

v3.0.5

Browser.

Electron, Chrome

bug version 3 waiting-details

Most helpful comment

Has been fixed for v3.0.8

All 5 comments

Hello,

So https://github.com/froala/wysiwyg-editor/issues/3702 in most cases will be fixed in upcoming 3.0.7
As for this specific issue - I can't reproduce it at the moment
Please tweak this fiddle to let me find out what's the case https://jsfiddle.net/womjoy/6fvcdemL/

Your fiddle shows the problem. Create a new link by Froala (not HTML) - CTRL + K, insert link ssh:[email protected]. Then edit the link and it's changed to mailto:ssh%[email protected].

Has been fixed for v3.0.8

@kapil2704 I have tried v3.1.0 and the bug is still there.

@kapil2704 Seems fixed in 3.1.1, thanks.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lohiaad picture lohiaad  路  4Comments

cristianst picture cristianst  路  4Comments

bnjmnfnk picture bnjmnfnk  路  4Comments

bbugh picture bbugh  路  3Comments

adilsonb picture adilsonb  路  3Comments