-
Notifications
You must be signed in to change notification settings - Fork 211
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
Mispositioning toolbar #294
Mispositioning toolbar #294
Conversation
I don't understand the issues of Codacy... |
The Codacy rule is without semi and the eslint.prettier/prettier rule is with semi... |
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.
@mogavin Sure i will work on this fix, thanks for your reply. |
Thanks, @wdtamagi ! We will also check Codacy issues |
@mogavin Can you check again? |
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.
Ops, sorry about that. |
@wdtamagi, Codacy is ok now 👍 |
@mogavin |
Thanks, @wdtamagi. As for replaceSelection method, I didn't understand your question. Could you detail it better? |
In the toolbar test have a method:
This method mock the editorState of component, but all the math for calculate the position of toolbar use de DOM elements (src/utils.js method getSelectionCoords). I believe for a really useful test of positioning of toolbar need mock the DOM position of editor for make things happen. I can try do this on this PR or in another one. |
@wdtamagi |
Hi @KyleLawson16 ! Yep, we have become aware of this problem recently. We will soon work on a correction ( but, as always, we are open to contributions too 😀 ). Thanks ! |
Great, @KyleLawson16! We will review this PR and provide feedback soon. Thanks ! |
fix for #291
This PR fix toolbar position for highest left and right.