Make WordPress Core

Opened 11 years ago

Closed 9 years ago

Last modified 7 years ago

#23601 closed enhancement (duplicate)

Use ACE Code Editor for Theme and Plugin editors

Reported by: wonderboymusic's profile wonderboymusic Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Plugins Keywords: has-patch
Focuses: administration Cc:

Description (last modified by wonderboymusic)

Ace is an embeddable code editor written in JavaScript. It's the code editor used on GitHub and is actively developed by Mozilla. Its license is Modified BSD which is compatible with GPL.

The plugin and theme editors in their current state are lame. Upgrading the experience with ACE could lead to a more robust file editing solution in the admin. Perhaps, ability to add files?

Here's the link to the project:

Attachments (3)

23601.diff (12.4 KB) - added by wonderboymusic 11 years ago. (720.6 KB) - added by wonderboymusic 11 years ago.
Drop me in wp-includes/js
code-editor.png (149.0 KB) - added by wonderboymusic 11 years ago.

Download all attachments as: .zip

Change History (14)

11 years ago

Drop me in wp-includes/js

#1 @wonderboymusic
11 years ago

  • Description modified (diff)

#2 @johnbillion
11 years ago

Previously: #12423 and #13307.

#3 @wonderboymusic
11 years ago

Yikes - I completely missed those. If the editors are going to exist, they need a library like this. I guess we'll see what everyone says (again)

#4 @rmccue
11 years ago

I made a Markdown post editor as a proof of concept using CodeMirror. I found that CodeMirror had better browser support and it tends to be more stable. There's some discussion about it on Hacker News.

I don't have a preference personally; I went with CM because it's more lightweight. It also seemed to have a better API IMO.

I'm +1 on this.

#5 @alexvorn2
11 years ago

If such thing goes in that it would be great to see a html editor for Text area of wp_editor.

#6 @sbressler
11 years ago

  • Cc sbressler@… added

#7 @nacin
10 years ago

  • Component changed from Administration to Plugins
  • Focuses administration added

#8 @SergeyBiryukov
9 years ago

#31418 was marked as a duplicate.

#9 @DrewAPicture
9 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

No movement here in 3 years, plus this is really a duplicate of #12423 anyway.

This ticket was mentioned in Slack in #core-customize by westonruter. View the logs.

7 years ago

This ticket was mentioned in Slack in #core by westonruter. View the logs.

7 years ago

Note: See TracTickets for help on using tickets.