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

Cannot copy text into editor container when Toolbar is present (and hideToolbarOnBlur: true) #29

Open
ambrwlsn opened this issue Apr 18, 2018 · 3 comments
Labels
blocked eg. because of an issue of a dependency help wanted

Comments

@ambrwlsn
Copy link

Expected behavior:

Ability to copy text into the editor container when the Toolbar is present (and hideToolbarOnBlur: true). Currently cannot copy into the editor container (with Toolbar present) in the picture below.

screen shot 2018-04-18 at 10 39 03

Actual behavior:

Can only copy text into editor containers that do not have the Toolbar showing (as seen in below screen capture). This means a user has to click on the editor container again to continue using the Toolbar.

kapture 2018-04-18 at 11 12 59

@natterstefan
Copy link
Contributor

natterstefan commented Apr 23, 2018

Note: From what I see so far it is probably caused by the 3rd party vendor (react-quill) and not "directly" caused by oyez-editor. But I will need to validate that statement first.

Probably these issues are related:

@ambrwlsn
Copy link
Author

Results from the user testing on 19/04 suggest that users of the software will definitely be pasting text into the text blocks.

Did you get the chance to pursue this issue further?

@natterstefan natterstefan added help wanted blocked eg. because of an issue of a dependency labels Apr 27, 2018
@natterstefan
Copy link
Contributor

natterstefan commented Apr 27, 2018

Hi @ambrwlsn,

I invested some hours now to find a solution and I have come to the point that the problem is either in react-quill or in quill... There are ideas from other developers about how they approached the paste action, but none of them solved the issue.

I prepared an example on CodePen and a detailed comment in the react-quill repo and hope the owner/contributers will tell us how to solve it (either for our use-case or directly in their repo). For now this issue is blocked because in my opinion it is a technical issue in a 3rd party dependency.

==> see the full research etc. here: zenoamaro/react-quill#276 (comment). Feel free to "upvote" the comment to highlight it's importance.

I will keep track of the issue zenoamaro/react-quill#276 and focus again on this issue once there are some constructive news.

Edit: try zenoamaro/react-quill#276 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked eg. because of an issue of a dependency help wanted
Projects
None yet
Development

No branches or pull requests

2 participants