editor : use g_file_replace_contents to adapt css