Make WordPress Core

Opened 12 years ago

Closed 11 years ago

#18957 closed defect (bug) (worksforme)

TinyMCE 3.4.5 bug. Need update to 3.4.6

Reported by: lazyeugene's profile lazyeugene Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.3
Component: Editor Keywords: reporter-feedback
Focuses: Cc:

Description

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>

  1. 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.

Change History (3)

#1 @azaozz
12 years ago

Don't see that happening in latest FF, Chrome and IE. Also don't see it as fixed in the TinyMCE 3.4.6 changelog.

#2 @ocean90
12 years ago

  • Keywords reporter-feedback added; tinymce update removed

Works for me too. Which browser and which plugin do you use?

#3 @ryan
11 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.