Releases: niuware/mui-rte
Releases · niuware/mui-rte
Add async custom blocks feature
- Now is possible to add custom blocks when resolving a promise using the added
insertAtomicBlockAsync
API. ⚠️ Deprecatedvalue
property. UsedefaultValue
instead.⚠️ DeprecatedinsertAtomicBlock
reference function. UseinsertAtomicBlockSync
instead.- Add example on how to upload an image within the editor.
- Add example on how to insert async atomic custom blocks.
Further refactoring
- Rename properties.
- Add explicit
TMUIRichTextEditorRef
reference type for theMUIRichTextEditor
component. - Remove unneeded trailing punctuation.
- Update README
Fix clear custom styles bug
- Fix a bug that prevented clearing custom defined inline styles when using the Clear control
Refactoring
- Small code refactoring (no logic changed from last version)
Enable atomic components with autocomplete
- Enables using atomic components defined in custom controls for inserting autocomplete suggestions to the editor.
Enable any component on autocomplete suggestion list
- Previously only text was allowed on the autocomplete suggestion list. See this example for more.
- Fix a forced unwrap when checking the key binding function.
Insert autocomplete suggestion as entity
- Selecting an autocomplete suggestion now inserts an entity instead of plain text.
- Small refactor on
Link
component.
Add autocomplete strategies feature
- Add autocomplete feature, to enable users to create suggestion lists based on input text. See more on the README file. This feature was suggested in #103.
Remove spacing legacy code
Removed fallback behavior code that simulated the spacing
function introduced in material-ui
v4. The material-ui
v3 is no longer supported for this package since previous versions.
Fix clear function
Fix a bug that did not clear inline styles when the selection began with a clear inline style. Issue mentioned in #91