sync style editor content with result div