added method to specify the element ID of div for the editor