Please or Register to create posts and topics.

How to add the "Code Insert" button?

Hello,

I noticed on your support forum a button to insert code. How can I add it to my own site?

Thanks in advance.

Hello @feldrise

I am using the following plugin for it:

Enlighter – Customizable Syntax Highlighter

If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!

Ohh thanks ^^

Thomas, hi!

And you do not know the plug-in that in the visual editor (not HTML) added the button which the allocated code a tag < pre> wrapped? The plugin you’re using is too complex for my needs.

Hello @erenbur

You mean that button which is included in the non-html classic-editor? As far as I know this is a built-in core-button of WordPress and/or that old-version of TinyMCE. You can try if its possible to bring this button back with a plugin like the following:

https://wordpress.org/plugins/tinymce-advanced/

If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!

Thomas, thanks for the advice, but with this plugin only the “code” button can be added. There is no “pre” button. I’ll find something – the possibilities of WordPress are endless 🙂

Asgaros has reacted to this post.
Asgaros