Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

T/99: Introduce images in tables. #155

Merged
merged 11 commits into from
Dec 20, 2018
Merged

T/99: Introduce images in tables. #155

merged 11 commits into from
Dec 20, 2018

Conversation

jodator
Copy link
Contributor

@jodator jodator commented Dec 7, 2018

@jodator jodator requested a review from oleq December 7, 2018 12:14
@J-Nagle
Copy link

J-Nagle commented Dec 13, 2018

Thank you very much for this. We really needed this feature (and actually expected it to be there by default). This pull request is now in production on our system.

However, when using the third party Simple Image Upload plugin, the toolbar image upload button is still disabled inside table cells. It was necessary for us to use this instead of CKFinder as the documentation for uploading that way was not available on the CKEditor website at that time. Is it possible for you to look into this issue before moving on? If it's a problem on their side, we will probably migrate to CKFinder.

@jodator
Copy link
Contributor Author

jodator commented Dec 13, 2018

Is it possible for you to look into this issue before moving on

Oh. Thanks for the review!
I'll create a PR for this in the image feature and update the PR descriptions.

Here is the update image feature: ckeditor/ckeditor5-image#262.

@jodator
Copy link
Contributor Author

jodator commented Dec 13, 2018

peek 2018-12-13 11-20

@scofalik
Copy link
Contributor

scofalik commented Dec 19, 2018

It looks like you forgot to mention that there is also a PR in block-quote :). I was writing a post that there are failing tests there :)

EDIT: I see there's no PR there, just the branch. Please create a PR. I've already looked there and there is just one line of code changed :).

@jodator
Copy link
Contributor Author

jodator commented Dec 20, 2018

It looks like you forgot to mention that there is also a PR in block-quote :). I was writing a post that there are failing tests there :)

Oh sorry. Fixing.

Edit: Fixed in PR description: ckeditor/ckeditor5-block-quote#29.

@dannybarinshtein
Copy link

This is exactly what i've been waiting for, thanks guys!

I am however running into an issue after migrating from the stable version of the table to the master in order to use this feature.

TypeError: i.for(...).elementToElement is not a function
    at zb.init (tableediting.js:91)

I am using the React Component - any ideas what could this be / if I missed a step?

Cheers

@J-Nagle
Copy link

J-Nagle commented Jan 26, 2019

@dannybarinshtein There was a significant refactor to CKEditor shortly following this change, found at ckeditor/ckeditor5-engine#1613. If you pull the master versions of all the repositories you’re using mentioned in that PR, you should be able to build a version of the project that no longer causes a TypeError.

We ran into this only yesterday and that’s how we fixed it. The developers also informed us that there might be breaking changes between the last version and the next release.

@dannybarinshtein
Copy link

dannybarinshtein commented Feb 6, 2019

@J-Nagle Thanks for the answer, its still not liking me for some reason.

I am trying to create the most basic form of the table at the moment, my package is as attached.

package.json.zip

But I am getting the following error:

TypeError: t is not iterable
at conversion.js:598
at Object.add (conversion.js:152)
at r_.init (tableediting.js:85)

Any thoughts or suggestions?

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

Successfully merging this pull request may close these issues.

Add images (nested widgets) support in tables. Cannot click-select image in table
4 participants