Module: Card::Set::All::ProsemirrorEditor::HtmlFormat

Extended by:
Card::Set::AbstractFormat
Defined in:
card/tmpsets/set/mod033-card-mod-prosemirror_editor/all/prosemirror_editor.rb,
card/tmpsets/set/mod034-card-mod-prosemirror_editor/all/prosemirror_editor.rb

Instance Method Summary collapse

Instance Method Details

#prosemirror_editor_inputObject



10
11
12
13
14
# File 'card/tmpsets/set/mod033-card-mod-prosemirror_editor/all/prosemirror_editor.rb', line 10

def prosemirror_editor_input
  wrap_with :div, id: unique_id, class: "prosemirror-editor" do
    hidden_field :content, class: "d0-card-content", value: card.content
  end
end