added getBlockOptions method to pass arbitrary options to block's template when it is rendered
passed the editor options to file block