mui-rte icon indicating copy to clipboard operation
mui-rte copied to clipboard

Inline style strategy in autocomplete

Open adarsh1021 opened this issue 4 years ago • 0 comments

Checklist

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

adarsh1021 avatar Nov 25 '20 14:11 adarsh1021