Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Updated: Comment #0
Problem/Motivation
The entity toolbar's initial position, its animated repositioning and its changing width can be very distracting/annoying.
Proposed resolution
Make it feel nice and out of the way.
Remaining tasks
TBD.
User interface changes
Better entity toolbar positioning
API changes
None.
Related Issues
Comment | File | Size | Author |
---|---|---|---|
#22 | Screen Shot 2021-07-12 at 9.12.52 PM.png | 28.87 KB | pameeela |
#12 | out-4.ogv_.zip | 1.58 MB | gaele |
#8 | Screen Shot 2014-07-29 at 2.57.54 PM.png | 33.7 KB | tkoleary |
#7 | Screen Shot 2014-07-29 at 2.36.13 PM.png | 51.54 KB | tkoleary |
Comments
Comment #1
Wim LeersNow that the node title has become in-place editable, this has become even more important.
Comment #2
Wim LeersWe really need to solve this, especially on the body field it's extremely annoying right now. That exact problem was also reported for the D7 backport of Edit at #2154891-25: Quick Edit contextual link not shown.
Comment #3
Wim LeersCorrect, this is apparently a D7-only problem. In D8, it's working fine.
Comment #4
Wim LeersHere's the D7 issue: #2160517: Entity toolbar when using the CKEditor in-place editor repositions way too slowly: very annoying.
Comment #5
xjmComment #6
tkoleary CreditAttribution: tkoleary commentedThis would be both smooth and quick:
(was: transition: all 1s;)
Comment #7
tkoleary CreditAttribution: tkoleary commentedI also took a quick look at how we could make the overall look both more compact and simpler.
Some of this would involve overrides to CKE styles.
Here's the CSS I used to achieve this in chrome inspector (without prefixes)
Comment #8
tkoleary CreditAttribution: tkoleary commentedBetter image
Comment #9
Bojhan CreditAttribution: Bojhan commentedWhy would we go for hard corners here? That is not in alignment with the style guide for Seven.
Also, how is it relevant to this issue? Which is about positioning, not look.
Comment #10
tkoleary CreditAttribution: tkoleary commented@bojhan @LewisNyman
Form follows function. Hard corners make the buttons easier to mortice together into a single block which in turn makes the whole bar both smaller and less complex, reducing visual noise and making it fit better on mobile devices.
IMO no round corners does not make this significantly diverge from seven's style but Lewis can make the call on that.
That's a fair point. I'll split this off into another issue.
Comment #11
tkoleary CreditAttribution: tkoleary commented@bojhan the new style issue is here: #2315915: Simplify style of entity toolbar
Comment #12
gaele CreditAttribution: gaele commentedTesting with Firefox 32.0.3 on Ubuntu I encountered several problems. See attached video.
Comment #13
Wim Leers#12: All valid points, thanks for reporting them explicitly, and even with a video! I wish all bug reports were like this :)
Also agreed with the priority bump.
Comment #22
pameeela CreditAttribution: pameeela commentedThis works quite well now, for fields with CKEditor it loads in a modal:
I think if there are further suggestions/improvements needed for Quick Edit we should open new issues.