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

Fix alignment issues (#206, #386) #419

Merged
merged 6 commits into from
Jan 4, 2016
Merged

Fix alignment issues (#206, #386) #419

merged 6 commits into from
Jan 4, 2016

Conversation

jbalsas
Copy link
Contributor

@jbalsas jbalsas commented Jan 3, 2016

Hey @ipeychev, this PR contains fixes for both #206 and #386

For #386, I've updated our CKEditor bundle with the Justify Plugin. This one doesn't have any dependencies, so it's a nice one :) (The update also bumps CKEditor to 4.5.6).

The fix for #206 is buried inside the Image Plugin which has dependencies with Dialog and adds a lot of other stuff such as doubleclick events. To avoid using it, I've created a ae_imagealignment plugin with just the functionality we need and some improvements such as:

  • Support for centering images
  • Proper UI updates after changing the alignment

I've added tests for all the alignment buttons, and they are all green in Chrome and Firefox, but I haven't had the chance to test on IE from home.

Let me know what do you think :)

@jbalsas jbalsas changed the title Add tests for image align buttons Fix alignment issues (#206, #386) Jan 3, 2016
@ipeychev
Copy link
Contributor

ipeychev commented Jan 4, 2016

Just started reviewing :)

:octocat: Sent from GH.

@ipeychev
Copy link
Contributor

ipeychev commented Jan 4, 2016

Thank you, pull request merged! See changes here.

:octocat: Sent from GH.

@ipeychev ipeychev merged commit bc4c1e2 into liferay:master Jan 4, 2016
@ipeychev
Copy link
Contributor

ipeychev commented Jan 4, 2016

Hey @jbalsas,

This is really cool! The tests passed on IE with a few tweaks, but for one of them I had to add a condition for IE9. The functionality was working on IE9 too.

Thanks,

@jbalsas
Copy link
Contributor Author

jbalsas commented Jan 4, 2016

That's awesome! Thanks a lot for taking care of the IE stuff!! 😊

I was going over the rest of the issues, and I'm not sure if you'd like something else to go into the next release.

Also, I feel like we're reaching a quite stable state in which we can start considering new features rather than just fixes as we've been pretty much doing lately. What do you think?

@ipeychev
Copy link
Contributor

ipeychev commented Jan 5, 2016

I totally agree. There are no more any serious bugs, and we also resolved the most wanted ones (working on the server + Webpack/Browserify), so maybe it is time for version 1.0?

@jbalsas
Copy link
Contributor Author

jbalsas commented Jan 5, 2016

I think we need to figure out how we want to do the media embed feature (#233) and that's the only thing separating us from a 1.0

I'll try to start looking into it this week.

What do you think?

@ipeychev
Copy link
Contributor

ipeychev commented Jan 5, 2016

Ah, yeah. This one would be good to be there too.
Btw, I think Chrome changed something and now adding images via the camera doesn't work on the demo site for me - there is an 'native' error. Maybe we can fix this one too before 1.0

@jbalsas
Copy link
Contributor Author

jbalsas commented Jan 5, 2016

Ok, I've created a 1.0.0 milestone and added everything I think we'd need before releasing it. For the camera issues, see #420 and #421.

We're getting close! 😉

@jbalsas jbalsas deleted the AE-386-Alignment_issues branch January 27, 2016 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants