-
Notifications
You must be signed in to change notification settings - Fork 20
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
replace FileType with ImageType for images #65
base: master
Are you sure you want to change the base?
Conversation
Thanks @kochen! Could you have a look at the failing build? |
@michalmarcinkowski could it be that:
needs to actually be:
and it has nothing to do with my fix? |
@michalmarcinkowski the fix I proposed, solves issue #31, allowing existing blocks which already contain image to be edited and image to be added/replaced. But, when a new (i.e custom) block is created with a new image, there is an error: Any idea how to solve this one? |
How is it possible that the tests pass on master branch, but not on yours? Have you tried to debug which of your change cased the error? |
@michalmarcinkowski because I replaced |
@michalmarcinkowski simply because there are no test for "editing a block with image" :/ |
That's bad... @kochen are you able to fix the issue? |
@michalmarcinkowski not from the little time I invested in it. |
Thanks for the feedback, if you will have any more information that could help, please share it with us 😉 |
@michalmarcinkowski first thing I'm trying to do is write some tests which will show the problem. |
@michalmarcinkowski the problem is somewhere in the actual generation of the image: instead of belonging to the actual content-block parent, it is independent and therefor a second block with an image will try to save another |
fixes #31
replaces #63