Support » Plugin: Enlighter - Customizable Syntax Highlighter » no way to switch from codeblock to inline?

  • Resolved Salvatore

    (@darkwolf)



    installed, so simple, clean and seems to work as expected but… i cannot found any way to change a codeblock in inline block (i need to copu, delete, make new… or change from source \<pre\> in \<code\>).

    is a bug or something i’ve missed?

    anyway, thank’s for this plugin!
    migrated from cranyon to this with success (just some regex/replace).

    • This topic was modified 1 year, 10 months ago by  Salvatore.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Andi Dittrich

    (@andi-dittrich)

    This feature was not implemented yet, because i didn’t believe that it is necessary.

    but i’ve added the feature on your request right now to the editor plugin – please try it and give me a feedback. https://tinymce.enlighterjs.org/

    there is only one limitation: when changing from inline to block mode, some of the settings fields are disabled until the “node change” action has been applied.

    best regards, Andi

    Plugin Author Andi Dittrich

    (@andi-dittrich)

    Editor Plugin Enhancement is added to the current Enlighter master branch (v3.4-BETA2)

    So good, thanks 🙂
    Another feature request is: with old plugin is present a saetting to put editor in frontend comment form. Ill search in entire plugin directory, but without great result.
    In your demo: https://tinymce.enlighterjs.org/
    i can see a great example of tiny editor style, perfect for frontend submission.

    If u can consider to insert a setting and enable editor, can be a really appreciated setting for most users.

    Anyway, i’ve successfully integrated also in my view source/header script: https://www.laltroweb.it/getsource/?view=https%3A%2F%2Fwordpress.org%2F
    and works as expected (and is so simply to use than many external library).

    thank’u!

    regards,
    S.N.

    Plugin Author Andi Dittrich

    (@andi-dittrich)

    well…that’s not a serious task for a syntax highlighting plugin.. i’m sorry!

    maybe i could create a standalone plugin to enable the visual editor in comments-textarea in the near future.

    best regards, Andi

    Hi Andy.
    I continue here if isn’t a great problem (just ot not open a new topic).

    IS there any way to disable emoji conversion inside syntax? Sometime i see really bad result cause of this :/

    atm i can live – for specific page – thanks to:

    	// NOT convert text emoticons to images
    	add_filter( 'option_use_smilies', '__return_false' );

    best regards,
    S.N.

    • This reply was modified 1 year, 8 months ago by  Salvatore.
    • This reply was modified 1 year, 8 months ago by  Salvatore.
    Plugin Author Andi Dittrich

    (@andi-dittrich)

    Dear Salvatore,

    im sorry, but there is no possibility to remove the emojis from Codeblocks – the content within the <pre> tags is not processed by Enlighter, it is only “marked” to be highlighted later.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘no way to switch from codeblock to inline?’ is closed to new replies.