Skip to content
New issue

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

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

Already on GitHub? # to your account

(Feature Request) Allowed link protocols #364

Closed
paulusm opened this issue Aug 22, 2024 · 2 comments
Closed

(Feature Request) Allowed link protocols #364

paulusm opened this issue Aug 22, 2024 · 2 comments
Milestone

Comments

@paulusm
Copy link

paulusm commented Aug 22, 2024

Describe feature

Describe feature

This issue was raised a while back for. the legacy app, but closed as attributed to a CKEditor bug.

It looks to me like it should be possible with current versions of CKEditor, using the allowedProtocols configuration setting

CKEditor LinkConfig Allowed Protocols

..it would be good to add zotero:// and maybe file:// as minimum, maybe to allow the user to configure their own?

Additional Information

Example of zotero Link zotero://select/library/items/W74PPSJ8 <- nb Will only work if that item ID is in your library ...

Additional Information

No response

@paulusm paulusm changed the title Allowed link protocols (Feature Request) Allowed link protocols Aug 22, 2024
@SiriusXT
Copy link
Member

I added allowedProtocols: [ 'https?', 'zotero', 'file'] in Notes/libraries/ckeditor/ckeditor.js according to the CKEditor 5 documentation, which allows links to navigate to file or Zotero.
图片
图片

@meichthys
Copy link
Contributor

Duplicate of #122
Let's discuss over there.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants