External use
External use of toolbar handlers / modal dialog
Undo
Open link dialog
Insert Bold
Insert Heading 6
Insert Inline code
Open image dialog
Open help dialog
Open html entities dialog
[TOC] ### External use of toolbar handlers / modal dialog ```javascript testEditor = editormd("test-editormd", { width : "90%", height : 720, path : '../lib/' }); // the first method $("#undo").bind('click', function() { $.proxy(testEditor.toolbarHandlers.undo, testEditor)(); }); // the Second method : using manually loaded dialog plugin // <script src="../plugins/html-entities/html-entities.js"></script> $("#open-html-entities-dialog").bind('click', function() { testEditor.htmlEntities(); }); // using toolbar dialog plugin $("#open-link-dialog").bind('click', function() { $.proxy(testEditor.toolbarHandlers.link, testEditor)(); }); // or $("#open-image-dialog").bind('click', function(){ // load and execute plugin testEditor.executePlugin("imageDialog", "../plugins/image-dialog/image-dialog"); }); ```