megadraft

Megadraft is a Rich Text editor built on top of Facebook's Draft.JS featuring a nice default base of components and extensibility

MIT License

Downloads
6.7K
Stars
1.2K
Committers
90

Bot releases are hidden (Show)

megadraft - Release 0.6.4

Published by marcelometal over 5 years ago

Added

  • Plugins now have an error boundary so the editor won't crash on plugin errors

Modified

  • Custom actions now can handle the active state of button on toolbar (#224)
megadraft - Release 0.6.3

Published by marcelometal almost 6 years ago

Fixed

  • HandleBlur with timeout sets states after component unmounted (#213)

Added

  • Add optional prop "id" to MegadraftEditor (#222)
megadraft - Release 0.6.2

Published by vierno about 6 years ago

Fixed

  • fix shouldDisplayToolbarFn #212
megadraft - Release 0.6.0

Published by vierno about 6 years ago

Fixed

  • Fixed toolbar arrow positioning on screen edges

Breaking Changes

  • Remade internationalization, dropping support for i18next
megadraft - Release 0.5.2

Published by vierno about 6 years ago

Added

  • Toolbar actions now can access the Editor's onChange.
megadraft - Release 0.5.1

Published by marcelometal about 6 years ago

Added

  • Sidebar: Display sidebar ToggleButton only when needed, with hideSidebarOnBlur prop.

Changed

  • Improving indentation with prettier + eslint + lint-staged + husky
megadraft - Release 0.5.0

Published by marcelometal over 6 years ago

Deprecated

__() has been deprecated and will be removed soon. You can move this code to your app, instead. __() code can be found at Github Gist.

Added

  • i18n: New prop language for MegadraftEditor, default is 'en-US'.

Fixed

  • 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
megadraft - 0.4.37

Published by marcelometal over 6 years ago

Added

  • Changelog.md for notable changes

Fixed

  • Fix toolbar and refactor positioning
  • Refactoring sidebar positioning
  • Don't prevent tab events
megadraft - 0.4.35

Published by vierno over 6 years ago

Added

  • MegadraftEditor now accepts a blockRenderFn prop similar to draft-js to customize block components.

Changed

  • Migrated tests from mocha/chai/sinon to jest.
megadraft - 0.4.36

Published by vierno over 6 years ago

Fixed

  • Toolbar is now shown after a delay of 16ms to prevent some bugs.