public function getAttributes() { return array_merge(parent::getAttributes(), array('tinymce' => 'true', 'style' => 'width: 97%; height: ' . $this->rows * 16 . 'px', 'value' => null, 'data-config' => $this->editorConfig)); }
function getAttributes() { return array_merge( parent::getAttributes(), array( 'tinymce' => 'true', 'style' => 'width: 97%; height: ' . ($this->rows * 16) . 'px', // prevents horizontal scrollbars 'value' => null, ) ); }
/** * Generates the attributes to be used on the field * @return {array} Array of attributes to be used on the form field */ public function getAttributes() { return array_merge(parent::getAttributes(), array('style' => 'width: 97%; max-width: 100%; height: ' . $this->rows * 16 . 'px; resize: none;', 'wrap-mode' => $this->wrap_mode ? "true" : "false")); }
public function getAttributes() { return array_merge(parent::getAttributes(), $this->getEditorConfig()->getAttributes()); }
function getAttributes() { return array_merge(parent::getAttributes(), array('tinymce' => 'true', 'style' => 'width: 97%; height: ' . $this->rows * 16 . 'px', 'value' => null)); }
function getAttributes() { $attributes = parent::getAttributes(); $attributes['configs'] = $this->editorConfigs; return $attributes; }
/** * Returns the attributes * * @return array */ public function getAttributes() { return array_merge(parent::getAttributes(), array('placeholder' => $this->getPlaceholder())); }
public function getAttributes() { return array_merge(parent::getAttributes(), array('data-mode' => $this->getMode(), 'data-ace-path' => $this->getAcePath(), 'data-theme' => $this->getTheme())); }