Closed (fixed)
Project:
Aloha Editor (obsolete)
Version:
8.x-2.x-dev
Component:
Aloha Editor (upstream)
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
5 Oct 2012 at 16:13 UTC
Updated:
14 Nov 2012 at 01:01 UTC
Jump to comment: Most recent file
Comments
Comment #1
wim leersComment #2
Angry Dan commentedAfter extensive research we can conclude that the problem here is that the included Aloha library has an out of date version of JQuery UI. Upgrading the library to 1.9 fixes the problem.
Comment #3
wim leersWow, really? My investigation led me elsewhere, but it could still be the same root cause.
On D7, it works fine. Both for links and images. So I went for an in-depth comparison. Turns out it's simply a single
topdeclaration in astyleattribute not being set…D7:

D8:

In any case, this is an upstream problem, and it's certainly possible that upgrading to jQuery UI 1.9 fixes this. They've already upgraded to jQuery UI 1.9, I just need to do a new build of our Aloha with new upstream commits to get it as well.
Comment #4
Angry Dan commentedYeah, that sounds like the best course of action. I was surprised to see that the build script works from a specific revision of Aloha - is there a reason that your not working from a specific tag?
No idea what's wrong with the distributed JQuery UI, but once I found that it was .position() I tried running it on other elements on the page and it failed - that's what lead me to try the upgrade.
Comment #5
wim leersI *was* working from a specific tag, but then I needed the very latest commits and couldn't wait for a new tag, hence I went for a specific revision. Next build should be based on a tag again :)
Comment #6
wim leersNew Aloha build fixed this: http://drupalcode.org/project/aloha.git/commit/d75f8c3 (D8), http://drupalcode.org/project/aloha.git/commit/6c051f2 (D7).