Factorized the checkbox definition in content editor.