Categories: None [Edit]

zo_draftjs_exporter

https://rubygems.org/gems/zo_draftjs_exporter
https://github.com/zero-one-software/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,941 of 198,843
Downloads: 1,544

Daily

Ranking: 146,172 of 198,817
Downloads: 4

Depended by

RankDownloadsName

Depends on

RankDownloadsName
171,305,994,766nokogiri
291,044,925,331rspec
55781,431,731rubocop
97522,845,005simplecov
1,88518,604,043codeclimate-test-reporter

Owners

#GravatarHandle
1icongee_forr