Newspaper editors say they will challenge new media law in courts