Hi Mark,
I made it a bit unclear by using the h1 and blockquote in a toolbar without defining them first. This is where they can be defined:
After you have pressed the “copy files to theme button” on the plugin options page, you will find a folder /direct-edit in your theme directory. In the file /direct-edit/js/direct-edit-custom.js the functionality of buttons is defined. Insert on line 59:
blockquote: {
command: 'formatBlock',
commandValue: 'blockquote',
tooltip: 'quotation',
icon: 'direct-icon-quote'
},
h1 : {
command: 'formatBlock',
commandValue : 'H1',
tooltip: 'header 1',
icon: 'direct-icon-h1'
},
At the bottom of the file you see some other butttons. Also there are some buttons that should actually be outcommented at the bottom, ‘p-lead’ and ‘p-normal’. I created them for one of my own projects and forgot to remove them. As you can see these are files meant to be customized according to your own needs.
Buttons are attached to toolbars in direct-edit/options/direct-options.json, you found this file already. You see settings for ‘title’, ‘plain’, ‘inline’, ‘basic’, ‘rich’ etc. Only ‘title’, ‘inline’ and ‘rich’ are used, respectively for titles, excerpts and content. The others are not used in the free version.
I hope it is a bit clear ?? If not, feel free to ask more.