Exemplo n.º 1
0
 public function renderMarkdown()
 {
     $editor = new Editor_Markdown($this->get('id'), $this->md_options);
     $editor->attr('style', 'height: ' . $this->get('height'));
     $editor->content = $this->get('value');
     return $editor->render();
 }
Exemplo n.º 2
0
 public function renderMarkdown()
 {
     $editor = new Editor_Markdown($this->id(), $this->md_options);
     $editor->attr('style', 'height: ' . $this->_height);
     $editor->content = $this->_default;
     return $editor->render();
 }