Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gutenberg enhanced code editor request #34367

Closed
Theo789595 opened this issue Aug 28, 2021 · 5 comments
Closed

Gutenberg enhanced code editor request #34367

Theo789595 opened this issue Aug 28, 2021 · 5 comments

Comments

@Theo789595
Copy link

So as you know Gutenberg has 3 available options for editing:

  1. Visual block editor
  2. Edit as HTML option for blocks
  3. Code Editor (ctrl+shift+alt+m)

Issue:
Other than the block editor needing a lot of work to go... the code editors need work to be done too.
When editing as html and especially when using code editor it is unacceptable to just have a plain, raw space with 0 functionality to code in.

Request:
Highlighting and autocomplete and any other improvements for code editing inside the editor.

@mtias
Copy link
Member

mtias commented Aug 30, 2021

Thanks for the feedback. See #17017 #10423 and #5614 that cover improvements to the code editor.

@mtias mtias closed this as completed Aug 30, 2021
@palmsout
Copy link

Is it me or has the code editor been removed altogether? I no longer have the option to change to code editor mode while in the site editor. I looked through the release changelog, and I didn't see anything about this. What could be causing this if this was not an intentional change? Sorry if this is comment is not in the right place. Let me know if I could start a new issue (if this is a novel bug or something, which I can't imagine it could be).

@palmsout
Copy link

Sorry, I wasn't specific enough before. I can still see the code editor option for posts, etc. But I can no longer see it when I'm editing a template. I'm sure I used to be able to! @mtias

@carlomanf
Copy link

@palmsout the code editor has disappeared because of changes that were made with #35990. I left a comment over there because I noticed that revisions had disappeared as well. Both are features that I use from time to time and should be reinstated.

@jameskoster
Copy link
Contributor

Yes the code editor was never made a part of the template editor. I'm unaware of the context there, so it may be worth opening a new ticket to discuss this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants