[wp-trac] Re: [WordPress Trac] #6878: In TinyMCE switch to paragraph after entering text with preformatted looses text style

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 30 17:16:31 GMT 2008


#6878: In TinyMCE switch to paragraph after entering text with preformatted looses
text style
----------------------+-----------------------------------------------------
 Reporter:  asandler  |        Owner:  anonymous
     Type:  defect    |       Status:  new      
 Priority:  normal    |    Milestone:           
Component:  TinyMCE   |      Version:  2.5.1    
 Severity:  normal    |   Resolution:           
 Keywords:            |  
----------------------+-----------------------------------------------------
Changes (by azaozz):

  * milestone:  2.5.2 =>

Comment:

 Replying to [ticket:6878 asandler]:
 > ... Style of the preformatted text will change back to paragraph.
 >
 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.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6878#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list