Skip to content

Releases: amjedomar/draftn

v1.3.0

18 Jan 14:01

Choose a tag to compare

Features

  • support exclude editor formats

v1.2.2

13 Jan 12:15

Choose a tag to compare

Fixes

  • add rel="noopener noreferrer" to anchor

v1.2.1

17 Dec 06:29

Choose a tag to compare

Fixes

  • move svg icons css to inline styles

v1.2.0

17 Dec 06:06

Choose a tag to compare

Breaking Changes

  • move Draftn css and Draft.js css to a css file located in draftn/dist/index.css

Features

  • provides a javascript css file located in draftn/dist/index.css-text.js that can be used for css server side-rendering

Fixes

  • increment default spaces between some elements
  • prevent toolbar button to be checked in SSR

Docs

  • add server-side rendering instructions

v1.1.3

09 Dec 21:44

Choose a tag to compare

  • fix: remove some draftn css

v1.1.2

09 Dec 21:26

Choose a tag to compare

Breaking Changes

  • the draft.js css import is removed form DraftnEditor so you should import it manually

Fixes

  • makes DraftnEditor works in ssr
  • makes html sanitization works in ssr

v1.1.1

08 Dec 15:05

Choose a tag to compare

  • fix: remove extra margins and paddings in draft content

v1.1.0

08 Dec 15:04

Choose a tag to compare

Breaking Changes

  • rename format class .DraftnFormat_rootLtr to .DraftnFormat_root[langdir="ltr"]
  • rename format class .DraftnFormat_rootRtl to .DraftnFormat_root[langdir="rtl"]
  • replace the two format classes .DraftnFormat_olItem and .DraftnFormat_ulItem with .DraftnFormat_li

Features

  • add DraftnView and DraftViewOnce components
  • add two format classes .DraftnFormat_root[iseditable="true"] and .DraftnFormat_root[iseditable="false"]

v1.0.10

08 Dec 15:04

Choose a tag to compare

Breaking Changes

  • rename format class .DraftnFormat_ol to .DraftnFormat_olItem
  • rename format class .DraftnFormat_ul to .DraftnFormat_ulItem

Fixes

  • support nested lists
  • set image max width to 100%
  • add title to the image toggle button

v1.0.9

08 Dec 15:04

Choose a tag to compare

  • correct the height of the editor