Opened 14 years ago
Closed 14 years ago
#15561 closed defect (bug) (fixed)
Press This is broken
Reported by: | westi | Owned by: | |
---|---|---|---|
Milestone: | 3.1 | Priority: | normal |
Severity: | normal | Version: | 3.1 |
Component: | Press This | Keywords: | has-patch |
Focuses: | Cc: |
Description (last modified by )
- When using Press This, you are unable to add tags to your post.
- Link helper not working
...
Attachments (12)
Change History (46)
#3
follow-up:
↓ 5
@
14 years ago
15561.001.diff
fixes both the tags and the link button. Though some more CSS styles for the link dialog need to be included.
Could press-this.php not make use of admin-header.php to help stop these kind of problems in the future?
#5
in reply to:
↑ 3
@
14 years ago
Replying to duck_:
15561.001.diff
fixes both the tags and the link button. Though some more CSS styles for the link dialog need to be included.
Okay, one of the missing CSS style sheets for the link dialog is the global style sheet (for example getting rid of the bullets in the search list). But I'll leave that for now, I don't know if this will introduce conflicts with other press-this styles.
Could press-this.php not make use of admin-header.php to help stop these kind of problems in the future?
Answer no. This would include the large admin header, favourite actions, etc. However the current approach for Press This seems a bit annoying for maintenance :(
#8
@
14 years ago
- Priority changed from high to normal
- Resolution fixed deleted
- Severity changed from blocker to normal
- Status changed from closed to reopened
Still some styling issues.
#11
@
14 years ago
I would rather see these link dialog reset fixes go into wplink.dev.css directly, that way we don't need to maintain two different versions of the link dialog CSS.
#12
follow-up:
↓ 13
@
14 years ago
font-family needs the whole stack. Looks alright otherwise, but I am guessing some of these rules can be merged into the rest of the styles. For example, the toggle-arrow rules can go into toggle-arrow directly.
#13
in reply to:
↑ 12
@
14 years ago
Replying to nacin:
I am guessing some of these rules can be merged into the rest of the styles. For example, the toggle-arrow rules can go into toggle-arrow directly.
Hmm, don't fully understand your suggestion. I'm guessing you mean using rules that are defined elsewhere instead of porting those rules from other stylesheets to wplink.css?
The problem with press this is that it has its own stylesheet (press-this.css) and doesn't inherit from base css files (such as global.css or wp-admin.css). As a result, lots of code duplication there. But since including these global and wp-admin stylesheets would be costly in terms of overhead, I don't see any other solution than copypasta. Splitting up wp-admin.css into smaller components that press-this can inherit might work, although that would be a bit unwieldy.
#14
@
14 years ago
Sorry, I figured that some of those selectors you added to the top of the file were repeated later in the file, and that some of those properties could be moved and thus declaration blocks combined.
I now see that's not necessarily the case.
Posting a patch that shifts things around into a slightly more logical order (doesn't change any CSS), and asking koopersmith to review it. Thanks for the patch.
#16
follow-up:
↓ 17
@
14 years ago
Closed #15886 as a dup of this:
Press This's Category metabox's tabs have a White background on the
<a>
.
This background is coming from `body.press-this .tabs a, body.press-this
.tabs a:hover `. The .tabs class is not used elsewhere and appears to be a
left over fragment from something else.
Attached patch removes the stylings for the .tab class, and brings the
styling inline with the standard editor by applying a #333 link colour
whilst the tab is selected.
#17
in reply to:
↑ 16
@
14 years ago
Replying to dd32:
Closed #15886 as a dup of this:
Press This's Category metabox's tabs have a White background on the
<a>
.
This background is coming from `body.press-this .tabs a, body.press-this
.tabs a:hover `. The .tabs class is not used elsewhere and appears to be a
left over fragment from something else.
Attached patch removes the stylings for the .tab class, and brings the
styling inline with the standard editor by applying a #333 link colour
whilst the tab is selected.
I actually remember doing this ages ago. See #12809, [14149] and [14150] (last one fix for colors-classic too). Looks like it might have been accidentally reverted in the next commit against colors-fresh.dev.css for nav menus.
#18
@
14 years ago
I actually remember doing this ages ago.
Me too, I had however, thought it was the normal admin category metabox :)
#19
@
14 years ago
Per IRC discussion, all patches are good for commit. This ticket will be left open for further tweaks.
#25
@
14 years ago
Great. All patches here are committed.
Press This needs final RTL and IE6 checks. Internal linking in both Press This and post-new should be checked for long titles as well (including in IE6, RTL, and both IE6 and RTL).
Please check off what you've tested.
#27
@
14 years ago
Final checks for internal linking (IE6, RTL, long titles) need to be reported to #15739.
#29
@
14 years ago
[17135] is designed to fix http://cl.ly/3a1k2y1I0a3I263j2a08.
#30
@
14 years ago
Long titles and the internal linking box are fine in IE6/7 and Opera.
IE6-8 problem: In Press This the internal linking box is empty: http://grab.by/842L
#32
@
14 years ago
- Keywords needs-patch added; has-patch needs-testing removed
It's a no-go, that we add the HTML code for the dialog (wp_link_dialog()
) in the <head>
tag. This could be the problem in IE, but I can't test more yet.
15561.js-error.diff
fixes an undefined error which blocks AJAX tags from working. Nothing on the link button yet.