This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Editor Widget Html syntax highlighting

Hi, I want to highlight Html syntax in SiteOrigin Editor Widget with some js library like codemirror.
Is it possible?
I tried more plugins like HTML Editor Syntax Highlighter but they does not work on Editor Widget.
Does SiteOrigin Editor Widget use wp editor or it has its own isolated tinymce?
I like page builder, but without html highlighting it is very hard build fancy pages.
Please help me.

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

6
  1. Kirill Pankin 9 years, 3 months ago

    Double it!

    Is there any solution?

  2. Andrew Misplon Staff 9 years, 3 months ago

    Hi

    Give the following a try:

    https://wordpress.org/plugins/wp-code-prettify/

    In the Text tab of the SO Editor widget you can use:

    <pre class="prettyprint">
    // Code here.
    </pre>
  3. Andrew Misplon Staff 9 years, 3 months ago

    Sorry for missing that. You’re right, there isn’t anything available at the moment. The best hope for this would have a been a plugin that supports Black Studio TinyMCE as that is much older than the SiteOrigin Editor widget. Unfortunately, I don’t see a plugin for that either.

  4. Kirill Pankin 9 years, 2 months ago

    There is a similar discussion on HTML Editor Syntax Highlighter’s support page:
    https://wordpress.org/support/topic/is-it-possible-to-work-in-siteorigin-editor/
    wihout any positive results though.
    Maybe some kind of collaboration is needed here?

  5. Andrew Misplon Staff 9 years, 2 months ago

    For sure. It would be great to see this. Thanks for raising the question.

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread