question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature request: Add a 'checkLocation' option to the Suggest plugin

See original GitHub issue

Currently the suggest plugin triggering is controlled by the char/startOfLine options and so it is triggered in any text node. It would be brilliant If we could limit-to/exclude-from certain nodes.

Something like this would work:

// Exclude the suggestions from blockquotes
checkLocation: (editor) => {
    return !editor.commands.isActive('blockquote')
}

I’m using it for hashtags and have a node type where hash tags are not supported.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:31 (14 by maintainers)

github_iconTop GitHub Comments

2reactions
samwilliscommented, Feb 8, 2021

No worries, its a brilliant project and happy to get stuck into an interesting problem. Will help me learn more about TypeScripts intricacies. I’m working though the circular dependancies at the moment… will let you know what I come up with.

1reaction
philippkuehncommented, Feb 16, 2021

Ah totally missed to fix that type. Should be fixed right now!

I already thought that with Vue 3. But the proxies were still unnecessary in the meantime.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add Retry Option #253 - wbthomason/packer.nvim · GitHub
Sometimes a plugin (or multiple plugins) might fail to update/install. It would make sense to add ... Feature Request: Add Retry Option #253....
Read more >
Simple Feature Requests Free – User Feedback Board
Simple Feature Requests is a user feedback and idea management tool for ... your customer feedback all via spreadsheet and adding “+1″s to...
Read more >
Common customizations and feature requests
Customization/feature requests that can be resolved by our add-ons ... You can also try the following plugin to add the placeholder text:.
Read more >
Suggestion: Add voting plugin for feature requests - Archive
I'm building ActivityWatch and we too have a Discourse forum with a feature suggestion category. One nice thing with it is that we...
Read more >
JavaScript - Bootstrap
Plugins can be included individually (using Bootstrap's individual *.js ... For data attributes, append the option name to data- , as in data-backdrop=""...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found