Opened 13 years ago
Closed 13 years ago
#6878 closed defect (bug) (invalid)
In TinyMCE switch to paragraph after entering text with preformatted looses text style
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.5.1 |
Component: | TinyMCE | Keywords: | |
Focuses: | Cc: |
Description
To reproduce, switch to preformatted style, enter some text (single or few lines) and then switch to paragraph. Style of the preformatted text will change back to paragraph.
Seen with Firefox 3.0b5 and IE7.
Change History (2)
Note: See
TracTickets for help on using
tickets.
Replying to asandler:
I'm not sure I follow... Switching to paragraph will change the styling to a paragraph, isn't that why you're switching?
In HTML line breaks and spaces are not preserved except in the <pre> tag. Switching from preformatted to paragraph replaces the <pre> tags with <p> tags and the text is formatted accordingly.