Tags: LabCo/react-mentions
Tags
fix: remove carriage returns from pasted strings (signavio#367)
feat: Add the possibility to mention users with accents without havin… …g to search with the accents (signavio#359) * Create service to get the subtring index with or without ignoring the accents * Add ignoreAccents prop to the Mention input * Use ignoreAccents props to have the possibility to get the substring index ignoring the accents * Add an example ignoring the accents
fix: Support experimental copy & paste in IE 11 (signavio#349) * signavio#349 Ignore cut, copy and paste events that do not support clipboardData * signavio#349 Added hint about missing support for IE to example
feat: add custom copy/paste behaviour (signavio#333) * add custom copy/paste behaviour * save mentions when cutting * add custom paste behaviour * add EXPERIMENTAL_cutCopyPaste flag * added example * restrict special copy paste to mentions components * update enzyme; adjust specs * remove code duplication; address PR comments * add plain text field to example * do not leak experimental flag onto DOM * add first specs for copy behaviour * extended specs for cut and copy * added specs for paste behaviour
fix: loading indicator's children could not be styled (signavio#328)
feat: Support multiple markup patterns (signavio#308) BREAKING CHANGE: Moved markup, displayTransform, and regex props from MentionsInput to Mention component BREAKING CHANGE: The __type__ placeholder is no longer supported in the markup pattern. Also, the Mention component's type prop is no longer required. * added emojis example * move tests next to src files * support with multiple markup patterns * split all utils function into own files while adjusting their APIs * adjusted examples to new API * upgrade substyle to fix react warnings * don't use any experimental syntax * update README * use id as display fallback * move textIteratee to the end of the parameter list, make optional * improved signature of applyChangeToValue
fix: Prevent crash from recursive calls to setState. (signavio#306) In some instances setState calls updateSuggestionsPosition which calls setState which calls updateSuggestionsPosition... until it crashes.
PreviousNext