mui-rte
mui-rte copied to clipboard
Inline style strategy in autocomplete
Checklist
- [x] This is not covered in the repository examples.
- [x] I am using the package latest version.
- [x] This is a bug report or an enhancement proposal.
Description
Currently the autocomplete selected value can be rendered in two ways - either the text value is inserted or an atomic block is inserted.
Is there a way to insert the text value with inline styles ? (like bold, font color etc.. ) The atomic block is not useful because I want to continue writing on the same line.
Currently I am using a decorator as a workaround for this, but it needs to match a regex for it. So would be nice to insert autocomplete value with some inline styles applied to it. Maybe introduce an 'inline style' option to autocomplete strategies.
Thanks