Closed
Bug 26286
Opened 25 years ago
Closed 24 years ago
Hook up advanced editor dialog for "All Tags" editing mode
Categories
(Core :: DOM: Editor, defect, P1)
Tracking
()
VERIFIED
FIXED
M16
People
(Reporter: rubydoo123, Assigned: cmanske)
References
Details
(Whiteboard: [nsbeta2+ until 5/16] Composer feature work)
Hook up advanced editor dialog for unknown tags
Reporter | ||
Updated•25 years ago
|
Target Milestone: M16
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•24 years ago
|
||
We will be showing an icon for all known HTML tags as well as "unknown" tags in an editing mode labels "Show All Tags" (button on toolbar at bottom of content window.) We wanted double Clicking on these icons should bring up Advanced Edit dialog, but that may be too difficult to implement. We could probably add a "Edit Properties" item to the context popup menu (rt mouse click on Windows/Linux). This depends on getting "unknown" tags working.
Depends on: 22262
Summary: Hook up advanced editor dialog for unknown tags → Hook up advanced editor dialog for "All Tags" editing mode
Reporter | ||
Comment 2•24 years ago
|
||
updating keyword and status whiteboard to reflect that this is a beta 2 feature work bug that the Composer team deems a must fix for beta 2.
Assignee | ||
Comment 3•24 years ago
|
||
This is essentially the same task as 34519. The issue is how to detect when the icons used in "All tags mode" is selected. The dependency on this problem might make it slip m16, but completing 34519 will mean there's nothing really more to do once selection works.
Assignee | ||
Comment 4•24 years ago
|
||
Unfortunately, when we use the taller images, it revealed a problem. The image size is 16px wide by 35px high. This example works for block tags: p { min-height: 35px; margin-left: 2px; margin-top: 2px; padding-left: 18px; background: url(chrome://editor/skin/images/tag-p.gif) no-repeat; background-position: top left; } This doesn't work for inline: b { min-height: 35px; margin-left: 2px; margin-top: 2px; padding-left: 18px; background: url(chrome://editor/skin/images/tag-b.gif) no-repeat; background-position: top left; } This works for inline: u:before { min-height: 35px; margin-left: 2px; content: url(chrome://editor/skin/images/tag-u.gif); } But we would prefer to use the "background" rule, as it will be very difficult to get consistent behavior for selecting the icon and bringing up the properties dialog. I've already asked Mike Judge to make a single click on "before" generated content image select the generated content (we need that for the single odd case of named anchor, which has no "normal" content.) Using "before" rule for the All Tags mode would conflict with that behavior. We already decided that trapping double-click on the "background" icon is the way we want to implement the "All Tags" mode. Marc: Why doesn't setting the min-height for an inline tag work? Is that a bug?
Comment 5•24 years ago
|
||
[nsbeta2+ until 5/16]
Whiteboard: Composer feature work → [nsbeta2+ until 5/16] Composer feature work
Assignee | ||
Comment 6•24 years ago
|
||
Double click on any tag icon in 'Show All Tags' mode brings up Advanced Edit dialog. Note that performance is slow, so it may take awhile for the dialog to appear - be patient!
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment hidden (collapsed) |
You need to log in
before you can comment on or make changes to this bug.
Description
•