onCodeBlockClicked

Click lister when user clicks in the menu to add a code block