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

setOptions imageFileInput as false, editor create get error. #347

Closed
wxjzeke opened this issue Apr 22, 2020 · 2 comments
Closed

setOptions imageFileInput as false, editor create get error. #347

wxjzeke opened this issue Apr 22, 2020 · 2 comments
Labels
Milestone

Comments

@wxjzeke
Copy link
Contributor

wxjzeke commented Apr 22, 2020

SUNEDITOR.create('example', {
  buttonList: [
    [
      'image'
    ]
  ],
  imageFileInput: false
})

=> Uncaught TypeError: Cannot read property 'addEventListener' of null

and the image upload dialog can not open.

@wxjzeke wxjzeke changed the title setOptions imageFileInput false, editor create failed. setOptions imageFileInput false, editor create get error. Apr 22, 2020
@wxjzeke wxjzeke changed the title setOptions imageFileInput false, editor create get error. setOptions imageFileInput as false, editor create get error. Apr 22, 2020
@JiHong88
Copy link
Owner

Hi @wxjzeke
This bug is fixed.
I'll notify you when version is update.

@JiHong88 JiHong88 added the bug label Apr 22, 2020
@JiHong88 JiHong88 added this to the 2.29.0 milestone Apr 22, 2020
@JiHong88
Copy link
Owner

JiHong88 commented May 8, 2020

The 2.29.0 version has been updated.
If this issue has not been resolved, please reopen this issue.
Thank you.

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

No branches or pull requests

2 participants