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: |
|
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:
- Create new post and go to HTML editor. Type in something like this:
<pre class="brush:php">echo 12345;</pre>
- 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)
Note: See
TracTickets for help on using
tickets.
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.