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

Fix insert links #247

Merged
merged 1 commit into from
Apr 3, 2023
Merged

Fix insert links #247

merged 1 commit into from
Apr 3, 2023

Conversation

cristianoccazinsp
Copy link

link insert fixes:

  • use proper methods instead of string concat to prevent injection
  • fix randomly added newline when the link is added on an empty line
  • make sure link is wrapped in paragraph if needed
  • adjust cursor after insert

- use proper methods instead of string concat to prevent injection
- fix randomly added newline when the link is added on an empty line
- make sure link is wrapped in paragraph if needed
- adjust cursor after insert
BadhanGanesh-HappyFox added a commit to BadhanGanesh-HappyFox/react-native-rich-editor that referenced this pull request Aug 10, 2022
@zsomborgellerfi
Copy link
Contributor

@stulip could you check on this please?

@stulip stulip merged commit 5065e0b into wxik:master Apr 3, 2023
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

Successfully merging this pull request may close these issues.

4 participants