Add plugin for preview function
Add plugin for preview function