Skip to content
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

Bug when editing text inside an element (draw.io plugin in BookStack) #4874

Open
2 tasks done
s0bakkaa opened this issue Jan 30, 2025 · 13 comments
Open
2 tasks done

Bug when editing text inside an element (draw.io plugin in BookStack) #4874

s0bakkaa opened this issue Jan 30, 2025 · 13 comments

Comments

@s0bakkaa
Copy link

Preflight Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Describe the bug
I'm using the embedded version of draw.io in BookStack (https://www.bookstackapp.com/). When creating any element of chema, when I want to edit its internal text, my toolbar goes to the right. Some instruments overlap each other.

To Reproduce
Steps to reproduce the behavior:

  1. Go to your installation BookStack
  2. Click on Insert/edit drawing
  3. Insert an element, for example, text window
  4. See, where the toolbox is now
  5. Double click on the element (that you've added at the step 3) to edit the internal text
  6. See, where the toolbox is now

Expected behavior
The toolbar is on the left side, as it was before editing an internal text of the element.

Screenshots

Image

Image

draw.io version (In the Help->About menu of the draw.io editor):

  • draw.io version 26.0.10

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser: Chrome
  • Browser Version: 131.0.6778.265

I tested the problem in incognito/private mode with all browser extensions switched off, write "yes" below:

  • yes
@davidjgraph
Copy link
Collaborator

Is there a running example we can look at? Working out how to install bookstack to test it isn't realistically going to happen.

@s0bakkaa
Copy link
Author

You can reproduce this behavior here https://demo.bookstackapp.com/

This demo site has the following credentials:
Email: [email protected]
Password: password

  1. Log in
  2. Open any page for editing
  3. Find the third button "More" on the toolbar (to the left of the "Source code" element, which looks like "<>")
  4. Click "Insert/edit drawing" button

Sorry, for some reason I couldn't upload a screenshot for steps 3-4 here

@davidjgraph
Copy link
Collaborator

It works correctly for me. Github attachment upload seems to be broken.

@s0bakkaa
Copy link
Author

So strange... I don't understand what the problem is
My colleagues have the same problem with the toolbar

@davidjgraph
Copy link
Collaborator

Is the host language of bookstack set to russian and draw.io takes that over, or you set it directly in draw.io?

@s0bakkaa
Copy link
Author

The host language of bookstack is set to russian and draw.io takes that over, yes. But it's at my work.
Additionally I use a virtual machine, with a local installation of bookstack, where the host language is set to english.
I've tried changing the language in bookstack, draw.io... But still the same problem

@davidjgraph
Copy link
Collaborator

Image

@s0bakkaa
Copy link
Author

Please, try adding, for example, one of these elements and editing the text inside the element by double-clicking on this element. It is at this moment that the toolbar leaves (in my case)
Image

@s0bakkaa
Copy link
Author

Image

Image

Image

@davidjgraph
Copy link
Collaborator

ok, yeah, I get it now

@s0bakkaa
Copy link
Author

Is there any solution for this problem?

@davidjgraph
Copy link
Collaborator

easy tiger, this is free software, maybe bumping for a solution after 15 hours isn't appropriate...

@s0bakkaa
Copy link
Author

Yeah, you're right :) Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants