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

Feature request: Hyperlink recognition and clickable #10

Open
Colerar opened this issue Aug 8, 2021 · 1 comment
Open

Feature request: Hyperlink recognition and clickable #10

Colerar opened this issue Aug 8, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@Colerar
Copy link
Contributor

Colerar commented Aug 8, 2021

It's more convenient to implement the feature that highlight the URL and make it clickable. Or I need to select it and right click "jump to...".

Paste

A regex may help you:
(https?|ftp|file)://[-A-Za-z0-9+&@#/%?=~_|!:,.;]+[-A-Za-z0-9+&@#/%=~_|]

@z8kh8E6t-rEv62qT7 z8kh8E6t-rEv62qT7 added the enhancement New feature or request label Aug 8, 2021
@WetABQ
Copy link
Collaborator

WetABQ commented Aug 8, 2021

May we also need a new style sheet for hyperlinks, like MDUI, or just let links color to be pink (accent color).
image

  • That could make things worse than expectations of framework standards of this project, so we need scss.
    But we need to carefully consider what WebUI of the identified links should be like.

Some Feasibility Solution

  • When encrypting or decrypting, show a new uneditable div box which can render the Markdown or just HTML.
    • That also makes AESChat prepare for future work such as Telegraph capture and encryption. (Big project)
  • Just like the first solution, but we only auto render hyperlink's style.
  • To identify all the hyperlinks in decryptedText and put them out of textarea, list links alone. (Easiest to implement)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants