public function getCMSFields() {
		$fields = parent::getCMSFields();

		$options = $this->getEditorTypeOptions();
		$fields->addFieldToTab('Root.Behaviour', new OptionsetField('EditorType', _t('WikiPage.EDITORTYPE', 'Editor Type'), $options));
		
		// if we're not using the HTML editor type, we should just use a textarea edit field
		$formatter = $this->getFormatter();
		if ($formatter) {
			$formatter->updateCMSFields($fields);
		}
		
		return $fields;
	}