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

Add option to checkTextForURL on each character on each text-change #91

Open
nate-knight opened this issue Oct 31, 2023 · 0 comments
Open

Comments

@nate-knight
Copy link

Currently, quill-magic-url checks the text for URL patterns :

  • after whitespace is added
  • after the quill editor is blurred

Some editors such (eg. Mac Notes, Evernote) only do transforms after whitespace is entered. Others, such as Slack perform URL transformations as soon as a valid URL is typed (without whitespace).

It would be helpful to add an optional parameter to quill-magic-url to perform the checkTextForURL operation on each text-change, so the consumer can decide which approach is best for their particular use-case.

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

2 participants