Adding 'togglePreview' to export

Hi there,

I was trying to setup a custom toolbar but was unable to add the togglePreview option because it wasn't exported like the other options.

I'm not sure if this is the intended functionality, in case it is you may just ignore this pull request.