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

Problem with autolink and new line #3473

Closed
Daijobou opened this issue Feb 6, 2017 · 5 comments
Closed

Problem with autolink and new line #3473

Daijobou opened this issue Feb 6, 2017 · 5 comments

Comments

@Daijobou
Copy link

Daijobou commented Feb 6, 2017

This bug is now more than 4 years old and very really very annoying. Is here a chance to fix this?

Go to fiddle and set cursor after URL and press enter-key
http://fiddle.tinymce.com/OCdaab

Result:

  • Firefox and Edge; After line break the new line is still a link and not normal text
  • Chrome; After line break only the first char is a link. After first char its normal text.

The enter-key should stop the autolink plugin, actual its add a <br> before </a>. Its must be "</a><br>"

@alecpl
Copy link
Contributor

alecpl commented Oct 1, 2019

I agree. I guess this has something to do with cursor position handling. Right-arrow key press allows continuation out of the link.

@Daijobou
Copy link
Author

Daijobou commented Dec 1, 2019

Right-arrow is a solution, but not for most users, that not known this hidden function. Here should maybe be a tinymce setting that always end links with space or/and newline.

@thedrjim
Copy link

Marking as verified as we can replicate this in 5.5

@levanduc94
Copy link

Hi, it's now more than 7 years. Is there any chance that this bug gets fixed?

@TheSpyder
Copy link
Member

TheSpyder commented Jan 15, 2024

Looks like it was fixed nearly 2 years ago and nobody followed up. Apologies.
https://fiddle.tiny.cloud/OCdaab/5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants