added "pre" button on editor