Skip Navigation

[Resolved] Block code editor, highlight sintax, indented code…

This support ticket is created 4 years, 4 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9:00 – 13:00
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - - 14:00 – 18:00

Supporter timezone: Africa/Casablanca (GMT+01:00)

This topic contains 1 reply, has 2 voices.

Last updated by Jamal 4 years, 4 months ago.

Assisted by: Jamal.

Author
Posts
#1960309

Tell us what you are trying to do?
I am triying to edit the code in Block editor, but it is not easy to read and edit the code. I miss sintax highlighting (at least). Is there any way to have a better code editor for Blocks? a compatible third party plugin, maybe?

Is there any documentation that you are following?
Not specific documentation. I would say that it is an "off-topic" question.

Is there a similar example that we can see?
Legacy Views editor was enough to easily read the code (sintax highlights, text indetation, line numbers...)

What is the link to your site?
hidden link

Thank you very much.

#1961367

Hello and thank you for contacting the Toolset support.

I assume that you want to edit the code generated by blocks, right? That's, currently, not possible.
The blocks editor is a core WordPress feature. Toolset just extends it by adding Toolset Blocks and dynamic sources interface(dynamically pull data from Toolset elements). There is no way for Toolset to offer syntax highlights for it.

But, if you just want to add a block and edit code inside of it(for example for sharing code snippets), I am sure there will be a 3rd Party plugin that allows that.

On the other hand, if you would like to continue using the legacy Toolset editor, you can activate it at Toolset->Settings->General(tab)->Editing Experience.

I hope this answers your request. Let me know if you have any further questions.