• Some comments were inconsistent with the rest of core comments.
  • Renamed the "wysiwyg-tabs" and "wysiwyg" toolgroups (in the per-field Edit toolbar) to "wysiwyg-floated" and "wysiwyg-main", so that it'd be more generally useful. The "tabs" stuff was only relevant for Aloha Editor. The difference between the two is: one of them is floated to the right (on LTR, to the left on RTL), to be next to the "Save" and "Close" buttons; the other one is full-width.
  • Added the ability to add an ID attribute to toolgroups.
  • I added ID attributes to both "wysiwyg" toolgroups by default. This is necessary for some WYSIWYG editors; we don't want random IDs to be attached, hence we want to provide this already.
  • I noticed when testing Edit + Editor (#1873500: CKEditor + Edit) that behaviors would get attached (in this case: text (WYSIWYG) editor attaching) even on the form that is hidden by Edit from the end user, that is solely used as a syncing/data transport mechanism. I added an override that will prevent that.
CommentFileSizeAuthor
#3 1875874-2.patch5.45 KBfrega
#3 interdiff.txt2.55 KBfrega
#1 1875874-1.patch6.2 KBWim Leers
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Wim Leers’s picture

Status: Active » Needs review
FileSize
6.2 KB
Wim Leers’s picture

Issue tags: +JavaScript
frega’s picture

FileSize
2.55 KB
5.45 KB

Slightly reworked the patch from #1.

  1. Using getters (prepend the internal "cleaned", DOM-compatible ID accordingly in getId, getFloatedWysiwygToolgroupId, and getMainWysiwygToolgroupId)
  2. Renamed getFloatingWysiwygToolgroupId to getFloatedWysiwygToolgroupId (the function in the previous patch was never called and referred to an undefined _toolgroupWysiwygFloatingId property instead of _toolgroupWysiwygFloatedId)

Other than that, it looks to go I could be RTBC'd :)

Wim Leers’s picture

Thanks! The first makes sense, and the second is a good catch.

Wim Leers’s picture

Status: Needs review » Reviewed & tested by the community

On second thought, that's all the review we really needed :) After having discussed this with @frega: RTBC (assuming it comes back green — almost 4 hours later and still no test results :/).

Status: Reviewed & tested by the community » Needs work
Issue tags: -JavaScript, -Spark

The last submitted patch, 1875874-2.patch, failed testing.

frega’s picture

Status: Needs work » Needs review
Issue tags: +JavaScript, +Spark

#3: 1875874-2.patch queued for re-testing.

Wim Leers’s picture

Status: Needs review » Reviewed & tested by the community
webchick’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed to 8.x. Thanks!

Automatically closed -- issue fixed for 2 weeks with no activity.