Code Monkey home page Code Monkey logo

link-autocomplete's People

Contributors

goldenjaden avatar nespecc avatar robonetphy avatar talyguryn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

link-autocomplete's Issues

Passing headers

This is such an amazing tool! Thank you!!

Would it be at all possible to allow us to send additional headers along with the request, as we can do with the "Image" plugin?

Clicking on result for pasted url raises error

Expected behaviour: Pasted URLs are recognised as such and a single result with the URL is shown. Clicking on this result should add the link to the text and close the hyperlinking dialog (like hitting enter after pasting).

Actual behaviour: Clicking on the single result holding the URL raises TypeError: null is not an object (evaluating 'n.dataset')

Steps to reproduce: Highlight some text, click on "Link Autocomplete", paste a URL, wait for result to be shown, click on result.

Impossible to disable server search

Hi, thanks a lot for this tool !
While trying to customize the link-autocomplete tool, I wanted to use it without server endpoint.
It appears that, when you do not provide an endpoint in the config, the tool still considers that there is actually an endpoint.

I looked at the code carefully and there is a very simple fix:
in the file src/index.js, the method isServerEnabled() lacks the operator get.

This is why this kind of expression this.isServerEnabled ? DICTIONARY.pasteOrSearch : DICTIONARY.pasteALink always picks DICTIONARY.pasteOrSearch.

I hope this can be useful.
Cheers !

No shortcut implemented

Expected behaviour: Hitting CTRL/CMD+K while having a non-empty range should show the hyperlinking dialog as it does in editorjs' default hyperlinking module.

Actual behaviour: Hitting CTRL/CMD+K while having a non-empty range has no effect.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.