A completely customizable framework for building rich text editors. (Currently in beta.)
MIT License
Bot releases are visible (Hide)
Published by github-actions[bot] over 1 year ago
Published by github-actions[bot] over 1 year ago
#5363 d42cd005
Thanks @aciccarello! - update dependencies on react hooks to be more senstive to changes
The code should now meet eslint react hook standards
This could result in more renders
closes #3886
556a4565
Thanks @alex-vladut! - Allow copying from editable void inputPublished by github-actions[bot] over 1 year ago
#5362 43999356
Thanks @jason0x43! - Fix an issue where pastes in Safari wouldn't include application/x-slate-fragment data
#5359 9825d29b
Thanks @jason0x43! - Fix an issue on Android where content containing a newline wouldn't be pasted properly
Published by github-actions[bot] over 1 year ago
Published by github-actions[bot] over 1 year ago
Published by github-actions[bot] over 1 year ago
#5325 af3f828b
Thanks @clauderic! - Fix edge-cases in the Android input manager when text leaf nodes are deleted, such as when deleting text leaf nodes adjacent to inline void nodes.
#5327 4205e0f0
Thanks @YasinChan! - Fix the issue of composition API and beforeinput event triggering between Chrome versions 60-75 on the Android platform.
Published by github-actions[bot] over 1 year ago
Published by github-actions[bot] over 1 year ago
#5315 5784a38b
Thanks @clauderic! - The RestoreDOM
manager that is used Android no longer restores the DOM to its previous state for text mutations. This allows the editor state to be reconciled during a composition without interrupting the composition, as programatically updating the textContent
of a text node ends the current composition.
#5315 5784a38b
Thanks @clauderic! - Fixed consumer defined onInput
event handler not being invoked when passed to the <Editable>
component.
Published by github-actions[bot] over 1 year ago
Published by github-actions[bot] over 1 year ago
Published by github-actions[bot] over 1 year ago
Published by github-actions[bot] over 1 year ago
11adbf96
Thanks @alex-vladut! - Allow pasting plain text into editable voidsPublished by github-actions[bot] over 1 year ago
#5295 84f811a7
Thanks @zbeyens! - New editor
method that can be overridden to control when the normalization should stop. Default behavior (unchanged) is to throw an error when it iterates over 42 times the dirty paths length.
shouldNormalize: ({
iteration,
dirtyPaths,
operation,
}: {
iteration: number
dirtyPaths: Path[]
operation?: Operation
}) => boolean
editor.onChange
signature change: (options?: { operation?: Operation }) => void
where operation
is triggering the function.editor.normalizeNode
signature change: (entry: NodeEntry, options?: { operation?: Operation }) => void
where operation
is triggering the function.EditorNormalizeOptions
new option operation?: Operation
where operation
is triggering the function.Published by github-actions[bot] over 1 year ago
Published by github-actions[bot] over 1 year ago
6fa4b954
Thanks @YaoKaiLun! - Fix the cursor jump to an unexpected position after deleting in androidPublished by github-actions[bot] over 1 year ago
6fa4b954
Thanks @YaoKaiLun! - Fix the cursor jump to an unexpected position after deleting in androidPublished by github-actions[bot] over 1 year ago
Published by github-actions[bot] over 1 year ago
9c4097a2
Thanks @kylemclean! - Revert to using inline styles for default editor stylesPublished by github-actions[bot] over 1 year ago
9c4097a2
Thanks @kylemclean! - Revert to using inline styles for default editor stylesPublished by github-actions[bot] over 1 year ago