Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#11930 closed enhancement (invalid)

2.9.1 TinyMCE problems

Reported by: nonegiven's profile nonegiven Owned by:
Milestone: Priority: low
Severity: minor Version: 2.9.1
Component: Editor Keywords: video embed, Tiny MCE
Focuses: Cc:


There are problems with the new 2.9.1 and TinyMCE.

I noticed it first with URLs whether just weblinks or Youtube/video links.

  • you cannot post http:// code in <code> tags without it being rendered as a link. You cannot even use old code inserting plugin because it still overrides them.
  • you cannot insert Youtube/video links in other code, it breaks the new video embed feature and it DNF, e.g. center item
  • there is no option to justify video embed
  • 2.9.1 and/or the TinyMCE is inserting empty tags all over the place.
  • they are adding <br /> tags where and when you would not want them.
  • The visual and html editors conflict with each other and/or do not register changes, e.g. center justifications.
  • code does not render consistently, e.g. in the example below, the first line might render with a carriage return, but the second line not.
    <strong>code:</strong>(a) <code> 
    <a href=""><img src="example.jpg" /></a>
    <br />
    <strong>code: </strong>(b) <code>
    <a href=""> ...
  • It will chew up tables and delete required tags ... or ever add tables where none were inserted

These are just a few ... I am excused by it.

There are more problems.

Change History (6)

#1 @nonegiven
14 years ago

In addition, new 2.9.1 TinyMCE in HTML mode will not recognise carriage returns as old version did.

#2 @lupinek7
14 years ago

It's annoying that instead of just <br> it inserts <p></p> where newlines should be.

#3 follow-up: @nonegiven
14 years ago

  • By code, I obviously meant stick an http link in between the [code] tags and it always comes out as a live link.
  • Something else weird ... to center align an image/object, the visual editor uses:

<p style="text-align: center">

Is that right? It is not text that I am aligning but a jpg.

  • add a link to a image caption and it breaks the alignment/positioning of the image and the link is rendered at the bottom of the post and not as a live link.


#4 @nonegiven
14 years ago

The visual editor also appears to add formatting to lines above and below where one actually choose to edit.

Around images seems to be the worst.

#5 in reply to: ↑ 3 @azaozz
14 years ago

  • Milestone changed from 2.9.2 to Future Release
  • Priority changed from highest omg bbq to low
  • Resolution set to invalid
  • Severity changed from blocker to minor
  • Status changed from new to closed
  • Type changed from defect (bug) to enhancement

Replying to nonegiven:

Perhaps you're expecting <code> to work as the <pre> tag however it's only an "inline" tag very similar to <strong> and <em>. It has no other functionality in the browsers and certainly won't show the actual HTML code.

A common misconception is that contentEditable in the browser + the visual editor are some kind of IDE for coding in HTML. That's not the case. The visual editor in an Rich Text Editor that uses HTML to format what you type, it's not a HTML coding tool. If you prefer to code the HTML yourself you shouldn't be using it.

#6 @nacin
14 years ago

  • Milestone Future Release deleted
Note: See TracTickets for help on using tickets.