A completely customizable framework for building rich text editors. (Currently in beta.)
MIT License
Bot releases are visible (Hide)
Published by github-actions[bot] almost 3 years ago
e5380655
Thanks @matthewkeil! - Support SSR for autoCorrect, spellCheck and autoCapitalize.Published by github-actions[bot] almost 3 years ago
Published by github-actions[bot] almost 3 years ago
#4654 2c7750ca
Thanks @anho! - weak guard on DataTransfer to not rely on current window
#4652 95389ed7
Thanks @karthikcodes6! - Disabled the auto scroll behaviour when the editor has any active selection
#4650 b6643132
Thanks @e1himself! - Do not disable Grammarly extension in Slate editors
Published by github-actions[bot] almost 3 years ago
Published by github-actions[bot] almost 3 years ago
Published by github-actions[bot] almost 3 years ago
Published by github-actions[bot] almost 3 years ago
ec01e75f
Thanks @jameshfisher! - Fixed issues where cursor jumps to wrong locationPublished by github-actions[bot] almost 3 years ago
0b59ad54
Thanks @NicklasAndersson! - Support selection in readOnly=true editors.Published by github-actions[bot] about 3 years ago
11ef83b4
Thanks @bryanph! - The Slate Provider's "value" prop is now only used as initial state for editor.children as was intended before. If your code relies on replacing editor.children you should do so by replacing it directly instead of relying on the "value" prop to do this for you.#4577 4b2e4000
Thanks @jameshfisher! - Fixed a bug that removed the selection when hovering over a non-selectable DOM element
#4605 87ab2efa
Thanks @jaked! - defer native events within Editable to avoid bugs with Editor
#4584 f40e515d
Thanks @jameshfisher! - Fixed bug: setting selection from contentEditable:false
element causes crash
Published by github-actions[bot] about 3 years ago
#4555 c29eea02
Thanks @bryanph! - createEditor is now exported from slate-hyperscript, making it easier to set up custom editor tests
For example:
const jsx = createHyperscript({
creators: {
editor: createEditor(aFunctionThatReturnsAnEditorObject)
},
elements: {
block: { type: 'block' },
inline: { type: 'inline' }
}
})
Published by github-actions[bot] about 3 years ago
Published by github-actions[bot] about 3 years ago
Published by github-actions[bot] about 3 years ago
37d60c58
Thanks @clauderic! - Only apply Firefox toSlatePoint()
offset fix when the cloned contents end in \n\n
instead of just \n
.Published by github-actions[bot] about 3 years ago
7ba486aa
Thanks @davidruisinger! - Fixed a bug where text was typed backwards within nested editorPublished by github-actions[bot] about 3 years ago
#4547 677da0ca
Thanks @clauderic! - Fixed a bug that caused the editor to be unable to resolve a Slate point from a DOM point when selecting an entire document that ended in a new line in Firefox.
#4526 bc85497d
Thanks @VictorBaron! - Fix - delete selected inline void in chrome
#4549 f9c41a56
Thanks @nemanja-tosic! - Fix deletion of expanded range (#4546)
Published by github-actions[bot] about 3 years ago
bd80a0b8
Thanks @nemanja-tosic! - Fix erroneous text after native insertPublished by github-actions[bot] about 3 years ago
0da12c17
Thanks @steve-codaio! - Fix setNodes when called with 'split' and a collapsed rangePublished by github-actions[bot] about 3 years ago
Published by github-actions[bot] about 3 years ago
Published by github-actions[bot] about 3 years ago
#4475 c1433f56
Thanks @skogsmaskin! - [slate-react]: fix selection bugs when multiple editors share value
#4132 48b71294
Thanks @ulion! - Make onDomSelectionChange trigger after onClick.
#4493 3dd74dd5
Thanks @dylans! - Update error message for useSlate
#4450 220f2d2c
Thanks @neko-neko! - Changed so that the onKeyDown event do not fired while IME converting.
#4452 935b3a79
Thanks @dylans! - double ime fix for qq browser
#4500 50bb3d7e
Thanks @tubbo! - Upgrade is-plain-object
to v5.0.0
#4480 e51566ad
Thanks @imdbsd! - Add key for Children SelectedContext.Provider
#4454 d06706c9
Thanks @imdbsd! - Fix to read fragment from data-slate-fragment when application/x-slate-fragment is missing
#4460 ace397f9
Thanks @dylans! - fix double character insertion regression due to unnecessary memo
#4451 8e4120ae
Thanks @githoniel! - fix IME double input with editor mark
#4503 2065c5bd
Thanks @bytrangle! - Fix incorrect selection when triple clicking blocks in Editable component
#4433 a1f925bd
Thanks @imdbsd! - Fix copy-paste a slate fragment on android editable
#4365 906e5af1
Thanks @samarsault! - fix a bug where element selections were not captured by useSelected
#4342 834ce348
Thanks @imdbsd! - Fix editor mark is not inserted on android