• Resolved ryvix

    (@rrhode)


    Hi there,

    I’m liking this forum so far. Once I can merge and split posts it will be perfect.

    Also I’m curious if there is a way to enter formatted code into a topic.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Asgaros

    (@asgaros)

    Hello @rrhode

    Splitting and merging topics is already on my todo-list:
    https://github.com/Asgaros/asgaros-forum/issues/138

    To add code to posts I can suggest you the following WordPress extension which adds an additional button to the editor:
    https://www.ads-software.com/plugins/enlighter/

    Thread Starter ryvix

    (@rrhode)

    Oh nice, glad to see it’s on a todo list!

    I actually do have that plugin installed but it doesn’t work correctly. Extra span tags show up inside the code and I have to edit the post again to remove them. It also doesn’t show the button on the editor toolbar. Is there an option or extension I’m missing somewhere?

    Also another issue then is that I have to enable shortcodes for everyone which isn’t really ideal either.

    • This reply was modified 5 years, 11 months ago by ryvix.
    Plugin Author Asgaros

    (@asgaros)

    Hello @rrhode

    Shortcodes are not required for this plugin.

    Please ensure that you have enabled “Enable Frontend Integration” in Enlighter -> Visual Editor.

    It can also be possible that you have to add the following code to your themes functions.php file to make it work:

    function mm_ejs_frontend_editing($allowed) {
    	return true;
    }
    add_filter('enlighter_frontend_editing', 'mm_ejs_frontend_editing');
    Thread Starter ryvix

    (@rrhode)

    Awesome, thank you very much!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Entering code in a topic’ is closed to new replies.