Closed Bug 103754 Opened 24 years ago Closed 24 years ago

Text styles (color, bold, italic, etc.) should not be discontinued from different paragraph styles

Categories

(Core :: DOM: Editor, defect)

defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 46474

People

(Reporter: TucsonTester2, Assigned: mozeditor)

Details

Build ID: 20011004 Composer discontinues any text styles after a return if the next line is going to be a different paragraph type. Steps to Reproduce: 1.Open composer 2.Click on the paragraph style drop-down menu on the toolbar and choose "Heading 1" 3.Click on the underline button on the toolbar 4.Click on the text color button on the toolbar and chooser red 5.Type in some text and hit enter 6.Type in more text Actual Results: All of the set text styles are discontinued. I would expect heading 1 to be removed but not the rest of the text formatting. Expected Resutls: The only thing that should be discontinued is the Heading 1 paragraph style. The rest of the settings for the. text should be continued. This expected behavior is seen in NS 4.x
Charley, MS Word gives me the same results as the tester got, and I confirmed that 4.x behaves the way the tester expects. I kinda like the fact that it goes to body text, actually -- the presumption I have is the styles were only applicable to the Heading, and that the context following the heading stands separate of this. On the other hand, if you want all the text in the document to have the same foreground color, it would make sense for that color to stick. In other words, perhaps there are certain styles that should always persist? Should we only reset the styles that are intrinsic to the heading? Reassigning to you to determine if this is EDITORBASE, or INVALID.
Assignee: syd → cmanske
editor core bug
Assignee: cmanske → jfrancis
Status: UNCONFIRMED → NEW
Component: Editor: Composer → Editor: Core
Ever confirmed: true
*** This bug has been marked as a duplicate of 46474 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.