Categories: None [Edit]
zo_draftjs_exporter
Draft.js is a framework for building rich text editors. However, it does not support exporting documents at
HTML. This gem is designed to take the raw `ContentState` (output of `convertToRaw`) from Draft.js and convert
it to HTML using Ruby.
This is a Zero One fork of the `draftjs_exporter` gem, published separately as `zo_draftjs_exporter`. It adds
a `block_callback:` hook invoked after each block is rendered, and support for `className` entries in the
`style_map` so inline styles can emit CSS classes alongside inline `style` attributes. It keeps the upstream
`draftjs_exporter` require paths and `DraftjsExporter` namespace, so it cannot be installed alongside the
original gem.
Total
Ranking: 186,518 of 197,336
Downloads: 1,475
Daily
Ranking: 30,439 of 197,283
Downloads: 3
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 16 | 1,277,014,020 | nokogiri |
| 29 | 1,028,039,554 | rspec |
| 55 | 758,100,967 | rubocop |
| 98 | 508,243,320 | simplecov |
| 1,875 | 18,454,109 | codeclimate-test-reporter |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | gee_forr |