Module: Card::Set::Abstract::ProsemirrorEditor::HtmlFormat

Extended by:
Card::Set::AbstractFormat
Defined in:
tmpsets/set/mod010-prosemirror_editor/abstract/prosemirror_editor.rb

Instance Method Summary collapse

Instance Method Details

#prosemirror_editor_inputObject



9
10
11
12
13
# File 'tmpsets/set/mod010-prosemirror_editor/abstract/prosemirror_editor.rb', line 9

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