All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Version bump for release.
- Added tree shaking to Webpack script to reduce
bundle.jsfilesize.
- Changed
/build/assets/components/views/Ernest/Ernest.jsinto a class to handle binding of editor focus properly. - Moved the colors for highlights to
/build/assets/utils/constants.jsto avoid magic strings. - Significant updates to
README.MDin preparation for public release. - Updates to the Umbraco package config meta.
- Updated
.gitignoreto prevent inclusion of VS local machine files from entering repo.
- The browser gives focus to the editor when the box is clicked on even if it's not inside the actual Draft.js line.
- Removed
/build/assets/components/views/Ernest/components/Toolbar/Toolbar.jsas its functionality was moved up into the parentErnest.jscomponent to reduce code complexity and permit focus binding.
- Added (grunt-umbraco-package)[https://www.npmjs.com/package/grunt-umbraco-package] based solution to build to a package zip file using
npm run package. - Added a property value converter.
- Modified how value is saved in the Angular wrapper so that
$scope.model.value.rawis aRawDraftContentStateobject usingconvertFromRaw, and$scope.model.value.htmlis a string with the HTML version of the editor's content.
- Updated Webpack to v3.
- Moved toolbar to its own component and simplified its event handlers.
- Added H1, H2, H3, Numbers, Quote, and Bullets buttons that control block type functionality.
- Updated styles for toolbar.
- Added some styling to make it more closely resemble an Umbraco editor.
- Added initial version of a toolbar with bold and italic support.
- Highlighting for suggestions now are color-coded based on suggestion type.
- Fixed issue where user was unable to escape focus from editor due to Editor.forceSelection() keeping it locked.
- Added highlighting inside the text editor where suggestions are taking place.
- This is the original pre-release.