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

Please create a new version or separate extension of zhongzhong to make it just work in google docs sir #61

Open
leoyangdiary opened this issue Sep 17, 2023 · 5 comments

Comments

@leoyangdiary
Copy link

So many people including me mainly use this extension in google docs, but it's not working for quite a long time now, and no one seems to have a solution to this, and I remember "Christian Schiller", the developer of zhongwen extension said: "it's not possible to fix this issue as Canva-Based google docs fundamentally break zhongwen, but it is possible to create a new one just for google doc."

Please sir, create a new version or separate extension of zhongzhong to make it just work in google docs!!!

@benlieb
Copy link

benlieb commented Sep 17, 2023

He means canvas-based, and it's referring to the HTML canvas element. It's not html, it's a bitmap, so you can't directly access the information under the cursor:

image

@benlieb
Copy link

benlieb commented Sep 17, 2023

You'd have to try to hack into the data mechanism of google docs, which could change at any moment, if it's even possible.

@leoyangdiary
Copy link
Author

I see, thanks so much for the explanation, so basically there is absolutely no way to make zhongzhong or zhongwen to work in google docs as it used to be(hover over text and show translation). Ok I gave up looking for solutions for this!!!

@benlieb
Copy link

benlieb commented Sep 17, 2023

Not necessarily impossible. There may be a way by hacking into google’s data structures, or if Google actually makes this available intentionally to third-party developers. I don’t really know personally.

without these methods, it’s no different really from hovering over an image with your mouse. There is no way to know what is under the cursor, unless there is some data source which maps information to coordinates.

@leoyangdiary
Copy link
Author

leoyangdiary commented Sep 18, 2023

Actually I found this Japanese translation extension called "rikaikun", it can still access the text under the cursor in the google docs, just like how zhongwen/zhongzhong use to work in google docs!
3

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