Move palette as a modified codemirror plugin