Class: ODDB::View::ChapterEditor

Inherits:
HtmlGrid::Textarea
  • Object
show all
Includes:
ChapterMethods
Defined in:
src/view/chapter.rb

Constant Summary

Constants included from ChapterMethods

PAR_STYLE, PRE_STYLE, SUB_STYLE, TABLE_STYLE, TD_STYLE

Instance Method Summary (collapse)

Methods included from ChapterMethods

#formats, #heading, #paragraphs, #sections, #table

Instance Method Details

- (Object) _to_html(context, value = @value)



136
137
138
139
140
# File 'src/view/chapter.rb', line 136

def _to_html(context, value=@value)
  if(value)
    sections(context, value.sections)
  end
end

- (Object) init



130
131
132
133
134
135
# File 'src/view/chapter.rb', line 130

def init
  super
  @attributes.update({
    'dojoType'    => 'dijit.Editor',
  })
end