Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#54023 closed enhancement (reported-upstream)

Enhancing Code Editor in WordPress Editor (Gutenberg)

Reported by: theotheo's profile theotheo Owned by:
Milestone: Priority: normal
Severity: major Version: 5.8
Component: Editor Keywords:
Focuses: administration, coding-standards Cc:


As you know Gutenberg gives you the option to edit blocks as html.

It also gives an entire code editor option where you can modify or add your own code.

The issue with these options are that they are underdeveloped, raw and plain.(You basically just type your code as text)

Enhancement: My recommendation is to add highlighting and autocomplete for code written in the WordPress enviroment. Yes, making gutenberg visual builder the main player is ok but code editing for advanced users is a must.

Change History (3)

#1 follow-up: @akash.sahay1
3 years ago

  • Resolution set to reported-upstream
  • Status changed from new to closed

Hi Theotheo,

Yes actually it is a good idea, we will be adding that in the upcoming version.

We will add the code detection and auto complete feature on the block html editor.

Thanks for opening the ticket.

#2 in reply to: ↑ 1 @theotheo
3 years ago

This is great news!!

Since you are going to add these features on the block html editor also consider adding them on the code editor(ctrl+shift+alt+M) that wordpress offers when editing pages/posts.

Thank you!

#3 @desrosj
3 years ago

  • Keywords needs-patch needs-design removed
  • Milestone Awaiting Review deleted

@akashsahay1 can you share the GitHub issues or pull requests that are relate to this request so that others can follow progress?

Note: See TracTickets for help on using tickets.