Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modifying the address of a hyperlink does not update the hyperlink text value in most browsers except Internet Explorer #1390

Closed
kiewic opened this issue Apr 5, 2017 · 0 comments

Comments

@kiewic
Copy link

kiewic commented Apr 5, 2017

In Internet Explorer, changing the address of a <a href="http://example.com">http://example.com</a> from http://example.com to http://foo.com updates the markup to <a href="http://foo.com">http://foo.com</a> as expected. But in all other browsers, only the href value is updated and the text value remains unchanged, i.e., <a href="http://foo.com">http://example.com</a>

Internet Explorer repro:

IE repro

Chrome repro:

Chrome repro

Steps for Reproduction

  1. Use any browser except Internet Explorer (e.g., use Chrome)
  2. Wrtie http://example.com and select it
  3. Click the link button in the Quill toolbar
  4. http:/example.com already shows as the address value, so, simply click Apply
  5. Click the link button in the Quill toolbar again
  6. Update the address to http://foo.com and click Apply
  7. The hyperlink test still displays http:/example.com, but the link points to http://foo.com

Expected behavior:

The href value and the text value should be updated to the new value.

Actual behavior:

Only the href value is updated, the text value is not updated.

Platforms:

Chrome, Microsoft Edge, Firefox

Version:

Quill.version = 1.2.3

@jhchen jhchen closed this as completed in 07a258e Apr 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant