[wp-trac] [WordPress Trac] #18957: TinyMCE 3.4.5 bug. Need update to 3.4.6

WordPress Trac wp-trac at lists.automattic.com
Sat Oct 15 07:50:41 UTC 2011


#18957: TinyMCE 3.4.5 bug. Need update to 3.4.6
--------------------------+-----------------------------
 Reporter:  lazyeugene    |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Editor        |    Version:  3.3
 Severity:  normal        |   Keywords:  tinymce update
--------------------------+-----------------------------
 TinyMCE in latest beta has an annoying bug - it sanitizes class from <pre>
 tag (maybe from others tags also, but pre is important). Make this steps:

 1. Create new post and go to HTML editor. Type in something like this:

 '''<pre class="brush:php">echo 12345;</pre>'''

 2. Switch to visual tab, after that switch to HTML tab. You'll get:

 '''<pre class="undefined">echo 12345;</pre>'''

 Updating to TinyMCE 3.4.6 (i made it for myself) fixes this issue. It is
 importand due to using class attribute to highlight syntax with
 "SyntaxHighlighter" on hundreds of IT-related blogs.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18957>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list