1.0.0 (2023-03-17)
Bug Fixes
- ci: artifact path (f7c4add)
- error when parsing empty or self-closing tags (#23) (8adb74b)
- html-to-slate: prevent adding excessive line break when <br> is happen to be within text nodes (5762c61)
- html-to-slate: trim whitespace that precedes a block element (a2eb943)
- html-to-slate: trim whitespace that precedes a block element (#38) (74f3d24)
- htmltoslate: ensure empty children have a text node (#21) (59ac5b9)
- htmltoslate: htmlToSlate function add return type (#43) (#45) (9ee52a5)
- htmltoslate: shadowed variable (#42) (aa7ee16)
- package.json: downgrade htmlparser2 for Webpack 4 compatibility (#49) (47bc3b0)
- readme.md: apply corrections (#11) (e12d933)
- slatetodom: parseDocument argument type (#50) (db8d566)
- slatetohtml: do not add an empty style attribute (#20) (a303806)
- slatetohtml: do not escape html entities (#16) (4d25706)
- slatetohtml: return an empty document if no Slate object (#51) (42a1e7a)
- src: folder capitalisation (#47) (90a61e4)
- src: remove unused directories (#48) (4717128)
- update-html: import (2ae2af8)
Features
- to: handle html entities appropriately (#22) (2cd5ce1)
- to: html manipulation capabilities (#19) (341cf32)
- config: extract and make customizable (#10) (2ea995e)
- defaulttag: replace enforceTopLevelPTags (#13) (e144e03)
- htmltoslate: process whitespace depending on context (#18) (0c9feac)
- htmltoslate: support line breaks (#6) (fe98bfb)
- serializers: htmlToSlate and slateToHtml (#1) (bc58250)
- serializers: support more HTML tags (#2) (84a09a8)
- slatetohtml: control html entity encoding (#17) (1f660b3)
- slatetohtml: convert line breaks to br tags (#33) (fe080fb)
- slatetohtml: improve text tag support (#3) (44d45b6)
- slatetohtml: support newtab links (#5) (ef8d004)
- support custom attributes (#7) (2192b0e)
Reverts
- Revert "refactor(config): extend all config from a sensible default (#26)" (#27) (e253c4e), closes #26 #27
Changelog
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.