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

Insert Link modal does not works on Chrome. #212

Open
gabolecointere opened this issue Feb 21, 2018 · 1 comment
Open

Insert Link modal does not works on Chrome. #212

gabolecointere opened this issue Feb 21, 2018 · 1 comment

Comments

@gabolecointere
Copy link

Hi guys, thanks for your great work.
I've had problems since the last google chrome update.
I get this error in console when I try to open the insert link modal. Do somebody have same problem? there's a way to solve it?

screenshot from 2018-02-21 11-32-29

Thanks in advance.

@coppai
Copy link

coppai commented Feb 22, 2018

Try removing the boolean parameter from the focus method. Instead of self.editor.currentView.element.focus(false);, do self.editor.currentView.element.focus();
or change to self.editor.currentView.element.focus({preventScroll:false})

See https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus

It doesn't look like this project is actively maintained so I just made the change directly in my local version.

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