Sha256: ec2c29e31cad278241f529d5a8539f08e1f3a5268d178aa645d7d896c618b98e
Contents?: true
Size: 403 Bytes
Versions: 1
Compression:
Stored size: 403 Bytes
Contents
basket[:list_input_options] << "prosemirror editor" basket[:script_calls]["setProseMirrorConfig"] = :prosemirror_config format :html do def prosemirror_config Card::Rule.global_setting :prose_mirror end 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 end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
card-mod-prosemirror_editor-0.2 | set/all/prosemirror_editor.rb |