- Fixed issue where cellBlockText's textColor property was being copied to cell properties.
- Fixed issue with unknown color expression defaulting to black instead of nothing.
- Added width and height properties to video blocks, containing value and unit properties.
- Added altText property to image blocks. Maximum length is 200 characters.
- Added support for generating width property from width attribute to image and video blocks.
- Added support for generating height property from height attribute to video blocks.
- Adding helper function for document traversal: traverseBlocks
- Adding internal document linking related fields to the models of text and image blocks
- Changing widthUnit to widthWithUnit property, containing value and unit. Width property remained unchanged, returning value converted to em.
- Refactor handling tables width with units based on settings option 'handleWidthWithUnits'.
- Added handling images width with units based on settings option 'handleWidthWithUnits'.
- Fixing table border="1" issue #5
- Fixing issue with new lines(\n) in text blocks.
- Handling text blocks with style 'display: block' as block element.
- Handling style attribute 'background' along with 'background-color' of <span> tags.
- Handling 'border', 'bgcolor' attributes of <table> tags.
- Handling tables' width with units based on settings option 'handleWidthWithUnits'.
- Added support for
tag
Update dev dependencies
- Fixing issues with empty <a> tags
- Handling relative image urls within a table
- Data loss during conversion
- Preserving color of <span> tags
- Image tags with embedded source
- Change to support esm modules.
- Add intial code which converts HTML string to the json format of knowledge document variation content. It handles the HTML tags, style attributes.