WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 19 months ago

Last modified 19 months ago

#12656 closed enhancement (wontfix)

Syntax Highlighting for Post/Page Editor HTML editor

Reported by: hakre Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Editor Keywords:
Focuses: Cc:

Description

Wouldn't it be nice if for the HTML editor if it had syntax highlighting? There is some for editing themes and plugins (codepress, right?) but there isn't for the post/page editor.

Since writing HTML is easier for users using an editor using syntax highlighting (this is a bare assumption I do not have any scientific grade data about it that would proof it; but I guess that is why syntax highlighting is featured in most editors the over recent years).

Next to the fact that this could be too hard to program/integrate into wordpress are there any real reasons against it?

Change History (4)

comment:1 ocean904 years ago

  • Milestone changed from Unassigned to 3.1

There is no Syntax Highlighting in WordPress anymore, see r11673. (Reason not compatible with each browser.)

There is only a new tabbing feature, see #12204.

Maybe we can add it in 3.1 with a new editor, see #12423.

comment:2 nacin3 years ago

  • Milestone changed from Awaiting Triage to Future Release

comment:3 scribu19 months ago

  • Milestone Future Release deleted
  • Resolution set to wontfix
  • Status changed from new to closed

The 'HTML' tab isn't actually HTML, most of the time; it's plain text that gets converted to HTML via wpautop(). That's why it was recently renamed to 'Text'.

Given this, I don't think we'll ever see syntax highlighting in the Text tab.

Note: See TracTickets for help on using tickets.