Site logo

Archived topic

Using Syntax Highlighting on Sections

5 replies · Started by Roberto Enrique on July 29, 2015

Viewing posts 1–6 of 6

Hmm - does it add any buttons or anything to the editor? How does it work?

The Sections start off as textareas and then grab the TinyMCE settings from the default editor, so if the plugin is set up to mesh with the core TinyMCE settings, the Sections should be able to do the same thing.

Let me know :)

I'm not using TinyMCE at all, it is really annoying when it strips out some html tags if I switch between html/rich text editors so i decided to deactivate it:

It actually works within normal pages:

but it does not on sections:

Hmm yea, the editor can be a pain like that.

Not sure how I would integrate this into Sections - I'll need to look into how the developer is setting it up and see if I can attach it to the Sections.

Trouble is, it's really difficult to duplicate stuff like this. Since the Sections repeat, it makes it very hard to do anything (it was amazingly hard to get the editor to repeat).

I'll look into it :)

I think I can live with that. I continue doing copy and paste from my text editor.

Don't invest too much time on this, is not that important. Better invest your time on that new menu add-on ;-)

Have a great day

It's almost ready, promise! :)

This archived topic is closed to new replies.