WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 20 months ago

Last modified 3 months ago

#23601 closed enhancement (duplicate)

Use ACE Code Editor for Theme and Plugin editors

Reported by: 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:
http://ace.ajax.org/

Attachments (3)

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

Download all attachments as: .zip

Change History (14)

@wonderboymusic
4 years ago

@wonderboymusic
4 years ago

Drop me in wp-includes/js

#1 @wonderboymusic
4 years ago

  • Description modified (diff)

#2 @johnbillion
4 years ago

Previously: #12423 and #13307.

#3 @wonderboymusic
4 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
4 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
4 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
4 years ago

  • Cc sbressler@… added

#7 @nacin
3 years ago

  • Component changed from Administration to Plugins
  • Focuses administration added

#8 @SergeyBiryukov
2 years ago

#31418 was marked as a duplicate.

#9 @DrewAPicture
20 months 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.


4 months ago

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


3 months ago

Note: See TracTickets for help on using tickets.