Closed bhoot-biswas closed 7 years ago
Hello, Jotted is awesome, it's simple but powerful! It will be great if I can change pane using a click event.
CSS
<style> .jotted-nav { display: none; } </style>
JS
<script> var editor = new Jotted(document.querySelector('#editor'), { files: [{ type: 'html', url: 'index.html' }] }) $( ".somthing" ).on( "click", function() { editor.setActivePane("html"); }); </script>
Thank you.
Sure. You can trigger a click on the nav anchor.
Here you go: http://jsbin.com/wuqapu/edit?html,js,output
Hello, Jotted is awesome, it's simple but powerful! It will be great if I can change pane using a click event.
CSS
JS
Thank you.