quartzy / prosemirror-suggestions Goto Github PK
View Code? Open in Web Editor NEWPlugin for handling suggestions in Prosemirror (e.g. autocomplete on mentions, tags, etc.)
License: Other
Plugin for handling suggestions in Prosemirror (e.g. autocomplete on mentions, tags, etc.)
License: Other
Hey @tristanpemble,
this is not a issue, but I haven't found any other way to reach you. I am the creator of tiptap - a prosemirror editor for Vue. I would like to integrate Mentions and Tags and have seen that you have already done a great job here. ๐ I would like to integrate prosemirror-suggestions directly but I would have to make some changes. So the question of whether I can use parts of the code? Of course I would name you in the Readme and give you endless hugs! โ๏ธ
I'm having issues getting the dom element of the mention being made (the span with class ProseMirror-suggestion
).
Want to get the element to position a popper.js dropdown to display suggestions.
Tried using view.domAtPos(range.from)
in the onEnter hook but it returns the paragraph (p) element.
Also tried view.domSelection().anchorNode.parentElement
but it's inconsistent, returns the span if the cursor is in the middle, or the p if it's at the end.
What's the proper way to do it?
Hello.
First of all I want thank you for your work!
I use the tags and mentions and they work fine.
But I have just one question: for now when I click backspace - the whole mention removes (so it removes completely but not just one character). Could you please share what I do wrong and if it's possible to delete just 1 character from mention by taping backspace?
Hey! Thank you for your plugin, I tried to run the example and I see the existing mention but I can't get to insert the new one using the @ symbol, could you expand the example a bit so that I can understand on how to start build on your plugin ?
Thanks a lot.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.