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

The link popup closes when trying to add it to an image inside a table. #524

Closed
kartik-budhiraja opened this issue Oct 9, 2020 · 2 comments

Comments

@kartik-budhiraja
Copy link

The link popup closes when trying to add it to an image inside a table.
The gif below explains the issue.

Jodit Version: 3.4.28

Browser: Chrome
OS: Mac

Code
Popup options for image being used:

img: [
      ...Jodit.defaultOptions.popup.img.filter(
        option => option.name !== 'pencil' && option.name !== 'left'
      ),
      'align',
      'link',
      'unlink'
    ],

Expected behavior:
It should not close down.

Actual behavior:

captured

@xdan xdan added the bug label Oct 11, 2020
@xdan
Copy link
Owner

xdan commented Oct 15, 2020

@kartik-budhiraja How I can repeat it? Is it react?

@kartik-budhiraja
Copy link
Author

@xdan Yes this is react, to reproduce, you can change the popup options and add link to it for img, then add an image to a table and try adding link through the link in popup dialog to the image.

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

No branches or pull requests

2 participants