Some part of the code of this method must go into CssEditor.js