Skip to content

Releases: niuware/mui-rte

Fix 'deprecated' warning on focus selection

12 Oct 02:46
4763761
Compare
Choose a tag to compare
  • Fix a deprecated warning shown when the focusing the editor selection.

Enable value reset

10 Oct 09:32
73f14f7
Compare
Choose a tag to compare
  • The editor state is updated when the value property changes

Rewrite class as function component

10 Oct 08:16
fe4a3f5
Compare
Choose a tag to compare
  • Rewrite the MUIRichTextEditor class as a function component
  • Optimize rendering of EditorControls component
  • Update usage of the ref property for external save trigger

Update 'draft-js' version

08 Oct 08:42
0f5d8b3
Compare
Choose a tag to compare
  • Update 'draft-js' to version 0.11.1
  • Update development dependencies
  • Add width and height properties for the 'image' control
  • Restyled the popover component when adding a 'link' or 'image'
  • Hide inline toolbar when a popover is shown from the main toolbar

Refactor 'EditorControls' component

05 Oct 03:02
e7f71e7
Compare
Choose a tag to compare
  • Custom controls list is only updated when the customControls property changes
  • Update unit tests

Add inline toolbar feature

02 Oct 09:44
d2d66b4
Compare
Choose a tag to compare
  • Add inline toolbar feature to display controls in a pop-up inside the editor
  • Add 'toolbar' and 'inlineToolbar' flag properties for toolbars visibility
  • Add toolbar class name for theme overriding

Add custom decorators feature

20 Sep 01:59
d662f88
Compare
Choose a tag to compare
  • Now user can define custom decorators for the editor
  • Updated examples and documentation

Send the latest state object to 'onChange' property

22 Aug 00:52
4db2bf7
Compare
Choose a tag to compare

Before the onChange property callback received an editor state object previous to the last update. This fix ensures the callback will receive the actual latest editor state.

Use TS 'noImplicitReturns' configuration by default

13 Aug 08:31
fbe449e
Compare
Choose a tag to compare
Merge pull request #10 from niuware/development

Use TS 'noImplicitReturns' configuration by default

Add controls and fixes

09 Aug 15:00
bc2ca51
Compare
Choose a tag to compare
  • Add 'undo' and 'redo' controls
  • Prevent render repeated controls
  • Fix a bug that focused incorrectly the editor when inserting a link