-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[stable27] Text processing integration #4662
Conversation
1 flaky tests on run #11631 ↗︎
Details:
cypress/e2e/api/SyncServiceProvider.spec.js • 1 flaky test
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. |
26b2bf3
to
524c0a0
Compare
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
524c0a0
to
6497bd0
Compare
/compile |
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
getReferenceClientRect: () => { | ||
const editorRect = this.$parent.$el.querySelector('.ProseMirror').getBoundingClientRect() | ||
const pos = posToDOMRect(this.$editor.view, this.$editor.state.selection.from, this.$editor.state.selection.to) | ||
return { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just leaving this here in case relevant for future debugging. Adding a div to position above the editor for fiddling with the positioning has been quite helpful:
// Add template
<div class="floating-hover" />
// Add styles
.floating-hover {
background-color: rgba(255,0,0,0.4);
position: fixed;
top:0;
left: 0;
width: 100px;
height: 100px;
}
// Add here
document.querySelector('.floating-hover').style.width = rect.width + 'px'
document.querySelector('.floating-hover').style.height = rect.height + 'px'
document.querySelector('.floating-hover').style.top = rect.top + 'px'
document.querySelector('.floating-hover').style.left = rect.left + 'px'
document.querySelector('.floating-hover').style.bottom = rect.bottom + 'px'
document.querySelector('.floating-hover').style.right = rect.right + 'px'
Backport of #4627