Closed
Bug 46474
Opened 26 years ago
Closed 24 years ago
starting a new block kills off style selections
Categories
(Core :: DOM: Editor, defect, P3)
Core
DOM: Editor
Tracking
()
VERIFIED
FIXED
mozilla0.9.9
People
(Reporter: mozeditor, Assigned: glazou)
References
Details
(Keywords: helpwanted, topembed+, Whiteboard: EDITORBASE+; 3 days;)
Attachments
(1 file, 1 obsolete file)
|
5.56 KB,
patch
|
mozeditor
:
review+
kinmoz
:
superreview+
asa
:
approval+
|
Details | Diff | Splinter Review |
start a new block when editing (like making a new paragraph, list item, etc, all
doable from typing) casues any style choices (font, bold, etc) to revert to their
defaults for the new block. We should hold on to the users style if they are
creating new blocks just by typing.
Updated•26 years ago
|
Whiteboard: nsbeta3+ → [nsbeta3+]
Comment 4•26 years ago
|
||
setting priority in status whiteboard
Whiteboard: [nsbeta3+] → [nsbeta3+][p:3}
Updated•26 years ago
|
Whiteboard: [nsbeta3+][p:3} → [nsbeta3+][p:3]
Comment 6•25 years ago
|
||
setting to future and adding helpwanted
Need to triage bugs to meet the glidepath for pr3
| Reporter | ||
Comment 8•25 years ago
|
||
moving a bunch of 0.9 bugs to 0.9.1
Target Milestone: mozilla0.9 → mozilla0.9.1
| Reporter | ||
Updated•25 years ago
|
Target Milestone: mozilla0.9.1 → mozilla0.9.2
Comment 10•25 years ago
|
||
just a note to look at bug 68795 (hitting return and terminating format)
we just need to ensure that the nesting is legal HTML
Target Milestone: mozilla0.9.2 → mozilla1.0
| Reporter | ||
Comment 12•24 years ago
|
||
*** Bug 84192 has been marked as a duplicate of this bug. ***
| Reporter | ||
Updated•24 years ago
|
Whiteboard: EDITORBASE; 3 days;
| Reporter | ||
Comment 13•24 years ago
|
||
*** Bug 102528 has been marked as a duplicate of this bug. ***
| Reporter | ||
Comment 14•24 years ago
|
||
*** Bug 103754 has been marked as a duplicate of this bug. ***
| Reporter | ||
Updated•24 years ago
|
Target Milestone: mozilla0.9.7 → mozilla0.9.9
Comment 15•24 years ago
|
||
triage team plussing
Whiteboard: EDITORBASE; 3 days; → EDITORBASE+; 3 days;
| Assignee | ||
Comment 16•24 years ago
|
||
Ok, got it :
1) launch composer (HTML or CSS mode, does not matter)
2) switch to AllTags mode
3) enter "aaaa"
4) select "Paragraph" from toolbar's pulldown menu
5) click on B and I buttons
6) enter "bbbb"
7) hit twice the Enter key
It creates a new paragraph, with the two nested stylistic elements (B and I in
HTML mode, two spans in CSS mode) and the caret is **before** the elements, but
should be of course inside !
| Assignee | ||
Comment 17•24 years ago
|
||
Joe, I took this one from your plate. Can you review it please ?
| Reporter | ||
Comment 18•24 years ago
|
||
I think we may need more. For instance: creating new list items via return;
breaking out of header via return.
| Reporter | ||
Comment 19•24 years ago
|
||
another scenario that needs to be dealt with:
user chooses inline style on blank line, then chooses
{indent/paragraph-style/list}. We should hold on to the style.
| Reporter | ||
Comment 20•24 years ago
|
||
Comment on attachment 68140 [details] [diff] [review]
patch v1.0
this patch is good, but don't close out the bug when landing it. We have more
to do.
Attachment #68140 -
Flags: review+
| Reporter | ||
Comment 21•24 years ago
|
||
I have incorporated Daniels work into bug 98286, which fixes other problems in
the same routine...
| Reporter | ||
Comment 22•24 years ago
|
||
Comment on attachment 68140 [details] [diff] [review]
patch v1.0
obsoleted by patch in 98286; but we still need to fix other issues I raised in
earlier comment so we can't close bug
Attachment #68140 -
Attachment is obsolete: true
Comment 23•24 years ago
|
||
if this will reproduce in the embedded editor case, it is also topembed
Keywords: topembed
| Reporter | ||
Comment 24•24 years ago
|
||
*** Bug 115287 has been marked as a duplicate of this bug. ***
Updated•24 years ago
|
| Assignee | ||
Comment 26•24 years ago
|
||
Fix in hand for list case :-) Will attach it monday morning since I really have to
go home for now.
Status: NEW → ASSIGNED
| Assignee | ||
Comment 27•24 years ago
|
||
Joe, is this the right approach for fixing the list case ? It works fine but
I need your views on the problem.
| Reporter | ||
Comment 28•24 years ago
|
||
Comment on attachment 72402 [details] [diff] [review]
work-in-progress #1
Daniel, this is exactly the kind of thing I think needs to happen. There are
several places to put this kind of thing: ReturnInHeader(),
ReturnInParagraph(), and ReturnInListItem(). In the last case, we also want to
preserve the style when you use return to "kill" a list and pop out to a higher
list level (or to the enclosing non-list block).
Attachment #72402 -
Flags: review+
Comment 29•24 years ago
|
||
Attachment #72402 -
Flags: superreview+
Comment 30•24 years ago
|
||
removing myself from the cc list
Comment 31•24 years ago
|
||
Comment on attachment 72402 [details] [diff] [review]
work-in-progress #1
a=asa (on behalf of drivers) for checkin to the 1.0 trunk
Attachment #72402 -
Flags: approval+
| Assignee | ||
Comment 32•24 years ago
|
||
patch in attachment 72402 [details] [diff] [review] checked in ; IRC discussion with Joe about
attachment 68140 [details] [diff] [review] because I still see the original problem.
| Assignee | ||
Comment 33•24 years ago
|
||
checked in ; other issues spun off in different bugs by Joe.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•