• Hi sir,
    I want to add a button inside the panel (panel where copy run, span elements are present) with which the user can switch dark or light mode. So how can I add more span elements inside the control panel div?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Vicky Agravat

    (@vickyagravat)

    Hello @realtrickswizard

    The plugin is not customizable yet.
    If you want to customize, you have to edit source file of the plugin.

    You can add your functionality in this file.
    Just edit plugins/wp-codemirror-block/assets/js/init.js
    save it as plugins/wp-codemirror-block/assets/js/init.min.js

    you can customize as you want…

    But, it is nice idea add a button to switch theme between dark and light mode.
    I am looking forward to add this functionality in feature update. if i get enough time.

    Thank you.

    Thread Starter realtrickswizard

    (@realtrickswizard)

    Thanks so much Sir,
    I just did it you can check it here https://www.codingkeeda.com/html-tutorial/ and thanks for making this plugin.

    One last question, How can I make this plugin to support the execution of other languages like Python, Java, etc. You can tell in short or reference some websites where I can learn it?

    Thanks Again.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to add element to Panel’ is closed to new replies.