Releases: niuware/mui-rte
Releases · niuware/mui-rte
Fix set editor state for SSR
- Now editor state is correctly set on component load (useful when loading default content for server side rendering)
Add focus event
- Expose 'focus' event when referencing the
MUIRichTextEditor
component.
Enhance callback custom control
- The callback custom control now can fully replace the current
EditorState
when returning a value. - Add
id
property to theMUIRichTextEditor
component.
Add custom component feature
- The custom control component in the toolbar can be any component (before only
IconButton
was allowed)
Update TypeScript compiler configuration
- Add
noUnusedParameters
to compiler configuration - Update examples
Disable toolbar when readOnly is set
- When
readOnly
property istrue
, the toolbar is disabled by default instead of hidden. It is still possible to settoolbar
false
to hide it. - Fix a bug when inserting an image between lines.
Add custom atomic blocks
- User can define atomic blocks with custom data. See this for more details.
- Refactor
MUIRichTextEditor
code
Add video control
- Rename image control to media
- Add video control
- Merge image and video controls intro media
- Reduce
EditorControls
component properties
Add alignment controls for images
- Add alignment controls for image blocks
- Refactor properties for 'UrlPopover' component
Enhance input and edit for image/link entities
- Add focus and click event to edit images
- Add delete button to easily remove a link/image from the popover