Comments (2)
The same issue appear in the official Tiptap example here - try to click link
item. I tried to resolve it using content
state and below tippy prop to put that content when closing tippy (and when shouldShow
return false) but really looking for some official fix
onHide: (instance) => {
setContent(instance.popper.innerHTML);
},
EDIT
I debug the code and I observed the following: The first time shouldShow
is called by onSelectionChange
as below:
Here, the selection is actually the same on both editor.state
and state
object so that's not an issue. Because shouldShow
(correctly) returns true
, Bubbe Menu is showed. Unfortunately, the content of BubbleMenu is created after this shouldShow
so the link
attributes are empty, hence the href
is empty and it does not look good. Its updated later as below
Would appreciate any comment from developers and other users
from tiptap.
Another issue is that the bubble menu (despite arrow) does not position correctly on first click and you have to click again to position it correctly.
from tiptap.
Related Issues (20)
- [Bug]: Content other than text can't be part of a simulated paste within an insertContent command
- [Bug]: Updating the node and its highlight
- [Bug]: React Node Views are not rendered on the initial render, causing layout shift HOT 2
- [Bug]: getJSON does not return custom fields on initialization HOT 1
- [Bug]: @tiptap/react breaks vscode intellisense HOT 1
- [Bug]: incorrect cursor positioning when using `nodePasteRule` for a custom extension
- [Bug]: insertContent with applyPasteRules set to true throws RangeError
- [Documentation]: Customising top node
- [Bug]: Extending Document
- [Bug]: Cannot remove a mention on Android and Firefox
- [Bug]: Blockquote Removes Cite
- [Bug]: Non-empty array for content breaks editor
- [PRO]: Drag handle not showing up next to descendants other than children
- [Bug]: can not build in production mode, I'm using vue-3 and vite. It says:[commonjs--resolver] Failed to resolve entry for package "@tiptap/pm". The package may have incorrect main/module/exports specified in its package.json: Missing "." specifier in "@tiptap/pm" package HOT 8
- [Bug]: RangeError Position x outside of fragment when deleting text from draggable paragraph
- [Bug]:Problems with bulletLists without content HOT 2
- [Bug]: Cannot start selection from collaborative cursor caret
- Key down events not triggered after suggestion plugin is clicked
- [Documentation]: Your Documentation UX is very annoying HOT 3
- [Bug]: Bulleted and Ordered list indicator appearing above text
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tiptap.