You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! Autocomplete only opens if I enter two characters after the trigger character. Is it possible to open the autocomplete by entering only the @ symbol or open it manually, by pressing a button for example?
Hello! Autocomplete only opens if I enter two characters after the trigger character. Is it possible to open the autocomplete by entering only the @ symbol or open it manually, by pressing a button for example?
<MUIRichTextEditor
defaultValue={content}
key="key"
label={"Label"}
id="comment"
controls={[
'bold',
'italic',
'strikethrough',
'numberList',
'bulletList',
'link',
'send',
]}
onChange={onChange}
onFocus={onFocus}
onBlur={onBlur}
ref={ref}
customControls={[
{
name: 'send',
icon: isEmpty ? : ,
type: 'callback',
onClick: onSubmit,
inlineStyle: {
backgroundColor: 'black',
color: 'white',
},
},
]}
autocomplete={{
strategies: [
{
items: ['item 1', 'item2'],
triggerChar: '@',
insertSpaceAfter: true,
},
],
}}
decorators={[
{
component: MentionDecorator,
regex: /\B@[/.\w]+/g,
},
]}
/>
The text was updated successfully, but these errors were encountered: