-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
added check for inlineImage name of images #3
Conversation
@janeznovak Thanks for contributing to this plugin. |
I can give you the link to the official documentation of ckeditor5, https://ckeditor.com/docs/ckeditor5/latest/features/images/images-styles.html. Otherwise all i do is upload an image from my computer to the ckeditor. The picture: |
can you upload a demo project and console log everything? |
That would take some time, because it is a commercial product with strapi, so I would neet to delete all the entities in it, and probably can't even share the code. So that would mean that I would need to make a smaller project at home with bare minimum code. As I said, I can do that, it will just take some time. |
just create a demo repository. no need real data or server. Just add HTML with cdn image link and apply plugin |
Will try at home. |
Okay. Thanks for contributing. |
My pleasure. Hope it'll help. |
OK, so I made a Vue app with ckeditor and your plugin. I put it in my repo. Here is the link to it: https://github.com/janeznovak/ckeditor5-image-remove-event-callback-plugin/tree/demo1. You have the steps to install the app and reproduce the "problem"(if we can call it that) in the readme. |
I will check and confirm. If your changes ok then I will merge. (Sorry for late response.) |
Your suggestion is right. I merge your pull request. Thanks for your valuable contribution. |
Happy to do it:smiley: |
Added the check for images of name imageInline for ckeditor5.
The event didn't return any images, because it checked only for the name "image", but in ckeditor5 you can also have "imageInline".
Edit: changed inlineImage to imageInline, which is the correct name.