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.
- HandleBlur with timeout sets states after component unmounted (#213)
- Add optional prop "id" to MegadraftEditor (#222)
- fix shouldDisplayToolbarFn #212
- Fixed toolbar arrow positioning on screen edges
- Remade internationalization, dropping support for i18next
- Toolbar actions now can access the Editor's
onChange
.
Sidebar
: Display sidebar ToggleButton only when needed, withhideSidebarOnBlur
prop.
- Improving indentation with prettier + eslint + lint-staged + husky
- i18n: New prop
language
forMegadraftEditor
, default is 'en-US'.__()
has been deprecated and will be removed soon. You can move this code to your app, instead.__()
code can be found at Github Gist.
- Toolbar: Prevent exception in Toolbar with readOnly true
- LinkInput: Fix placeholder color when URL is invalid
- Docs: Fixed toolbar customization example
- Editor: Fixes an out of sync editor state bug on plugins
- Editor: Checking if next block exists for media removal
- Changelog.md for notable changes
- Fix toolbar and refactor positioning
- Refactoring sidebar positioning
- Don't prevent tab events
- MegadraftEditor now accepts a
blockRenderFn
prop similar to draft-js to customize block components.
- Migrated tests from mocha/chai/sinon to jest.
- Toolbar is now shown after a delay of 16ms to prevent some bugs.