Skip to content

Releases: niuware/mui-rte

Fix package.json

06 Oct 00:50
aacd718
Compare
Choose a tag to compare
  • Fix main path for the package.json (Mentioned on #275).
  • Update scripts on package.json.

Add MUI (Material-UI v5) compatibility

22 Sep 12:31
c02652c
Compare
Choose a tag to compare
  • Updated package dependencies including compatibility with MUI (Material-UI v5)
  • Removed tests (temporarily as they were not useful). Hopefully will add soon.
  • Updated examples and source code with updated package dependencies.

⚠️ Breaking changes

The code implementing mui-rte version 1.x should be compatible with version 2.x, it only requires to wrap instances of the text editor with a ThemeProvider from MUI which in most of the cases this is already added. For further explanation check the updated examples.

Notes

This release bumped the major version to explicitly distinguish the version 1.x from 2.x as the dependencies used are completely different. With that said, no further changes in functionality were added at this time.

Updates peer dependency version range

29 Mar 08:52
b7f70ed
Compare
Choose a tag to compare
  • Allows react version 17.0.x to be used as a peer dependency for this package.
  • Formats example source codes.
  • Removes reference to src directory on example files.
  • Updates package dependencies.

Updates package distribution file

21 Mar 07:04
52c7723
Compare
Choose a tag to compare
  • Removes source files from the package to avoid conflicts with different environment settings. (#206, #238).
  • Adds types declarations file in order to keep providing typings for Typescript projects.

⚠ Note: This version could break builds if using previous provided types in typescript source files. In general this should not be the case, as all necessary typings in the official documentation are provided.

Fix export type

21 Mar 07:01
ecf953e
Compare
Choose a tag to compare
  • Uses TPosition type on getEditorBounds from utils instead of a dependency type.
  • Updates package dependencies.

Add editorRef nullability checks

11 Nov 06:56
7e99fa0
Compare
Choose a tag to compare
  • Add nullability check before using the editor property of the editorRef reference. (#208)

Update configuration

05 Nov 05:11
573cf34
Compare
Choose a tag to compare
  • Update tsconfig (#206)
  • Small code refactoring.

Remove auto focus

04 Nov 09:01
acf3eb9
Compare
Choose a tag to compare
  • Removes auto focusing the editor when it has contents (#158)
  • Use a mouse event instead when focusing the editor (#184)
  • Sets toolbar buttons active state to false when the editor is not focused.

Fix editor bugs

08 Oct 03:37
9ef23a0
Compare
Choose a tag to compare
  • Allow focusing the editor with tab index. (#192)
  • Prevent add new lines when the maxLength has been reached (#189)

Fix HTML list tags

11 Aug 03:35
ef863d0
Compare
Choose a tag to compare
  • Fixed HTML tags used for ordered/unordered lists. (#166)
    ⚠️ Previous saved content may show swapped HTML list tags with this fix.
  • Updated package dependencies.