github-actions[bot]
2a0a530931
Version Packages ( #5345 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
slate-react@0.91.10
2023-03-07 22:28:44 -07:00
Ed Hager
a5e833f655
fix: Editable not calling decorate as it should ( #5346 )
2023-03-07 19:34:39 -07:00
Joe Anderson
f7f02a8b23
Fix triple-click contenteditable="false"
error ( #5343 )
2023-03-07 10:15:59 -07:00
github-actions[bot]
bc07cf8c86
Version Packages ( #5340 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
slate-react@0.91.9
2023-03-06 08:44:43 -08:00
Joe Anderson
62f8ddd971
Fix performance issue with renderPlaceholder ( #5339 )
2023-03-06 08:38:07 -08:00
delijah
4ab18e8998
Implement type predicate for operationCanTransformPath
( #5318 )
2023-03-02 23:02:35 -07:00
github-actions[bot]
429f5fe417
Version Packages ( #5329 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
slate-react@0.91.8
2023-03-02 14:06:14 -05:00
Claudéric Demers
af3f828b12
Fix edge-cases when text leaf nodes are deleted ( #5325 )
2023-03-02 10:13:36 -07:00
陈耀耀
4205e0f002
Fix the issue of composition API and beforeinput event triggering between Chrome versions 60-75 on the Android platform. ( #5327 )
...
* fix: The issue of composition API and beforeinput event triggering between Chrome versions 60-75 on the Android platform.
* feat: add changeset
* fix: update the logic of HAS_BEFORE_INPUT_SUPPORT
2023-03-02 10:11:19 -07:00
dependabot[bot]
96ad964bee
Bump minimist from 1.2.5 to 1.2.8 ( #5324 )
...
Bumps [minimist](https://github.com/minimistjs/minimist ) from 1.2.5 to 1.2.8.
- [Release notes](https://github.com/minimistjs/minimist/releases )
- [Changelog](https://github.com/minimistjs/minimist/blob/main/CHANGELOG.md )
- [Commits](https://github.com/minimistjs/minimist/compare/v1.2.5...v1.2.8 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 20:51:46 -07:00
github-actions[bot]
3c4ca6b073
Version Packages ( #5323 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
slate-react@0.91.7
2023-02-27 17:36:15 -07:00
Ed Hager
836f660054
fix: cancel debounced listeners in Editable ( #5322 )
...
* fix: cancel debounced listeners in Editable
* fix: add change set
2023-02-27 17:28:13 -07:00
github-actions[bot]
680fa9cd34
Version Packages ( #5317 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
slate-react@0.91.6
2023-02-26 23:14:15 -07:00
Claudéric Demers
5784a38b6b
Android related improvements ( #5315 )
...
* Allow consumer handling of `onInput` event
* Avoid restoring the DOM for characterData mutations
2023-02-26 17:27:26 -07:00
github-actions[bot]
c753e68c69
Version Packages ( #5314 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
slate-react@0.91.5
2023-02-24 16:12:52 -07:00
Claudéric Demers
213edbbf3a
Version Packages ( #5290 ) ( #5306 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-24 14:40:28 -07:00
Ed Hager
3bf568ede2
refactor: editable - combine ref callback and event handler in useIsomorphicLayoutEffect ( #5313 )
2023-02-24 14:40:05 -07:00
github-actions[bot]
b32428e882
Version Packages ( #5312 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
slate@0.91.4
slate-react@0.91.4
2023-02-23 16:19:13 -07:00
Ziad Beyens
0ac72a626c
fix: normalizeNode
( #5311 )
...
* fix
* Create large-worms-jog.md
* Update large-worms-jog.md
* Update large-worms-jog.md
* Update large-worms-jog.md
* fix
2023-02-23 16:10:08 -07:00
Bob Ippolito
b94254d694
fix: Add missing dependencies to useEffect and React.memo calls ( #5289 ) ( #5310 )
...
* fix: Add missing dependencies to useEffect and React.memo calls (#5289 )
* Add changeset
2023-02-23 13:22:52 -07:00
github-actions[bot]
942fbd7ceb
Version Packages ( #5304 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
slate@0.91.3
slate-react@0.91.3
2023-02-22 13:53:03 -07:00
alex-vladut
11adbf966c
fix: add support for pasting plain text into editable void ( #5305 )
2023-02-22 13:47:38 -07:00
Ziad Beyens
84f811a79c
More control on editor.normalizeNode
( #5295 )
...
* feat
* fix
* Create two-books-bow.md
* docs
* feat
* fix
2023-02-22 04:54:35 -07:00
github-actions[bot]
d0d1cb981b
Version Packages ( #5302 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
slate-react@0.91.2
2023-02-20 08:53:48 -07:00
宋万盛
54e4ee204c
Fix sourcemap warnings in Windows ( #5301 )
...
https://github.com/ianstormtaylor/slate/issues/5300
2023-02-20 08:46:57 -07:00
Ed Hager
967d99eb36
fix: remove memory leaks in Text and Editable ( #5297 )
...
* fix: remove memory leaks in Text and Editable
* Add change set
2023-02-20 08:46:38 -07:00
github-actions[bot]
be564cef2b
Version Packages ( #5299 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
slate@0.91.1
slate-react@0.91.1
2023-02-18 18:47:29 -07:00
kailunyao
6fa4b954a5
Fix the cursor jump to an unexpected position after deleting in android ( #5251 )
...
* Fix the cursor jump to an unexpected position after deleting in android
* Create unlucky-chairs-promise.md
* Update unlucky-chairs-promise.md
2023-02-18 18:41:03 -07:00
hujiulong
f2607c2a52
Remove unused weak maps ( #5296 )
2023-02-17 11:47:28 -07:00
github-actions[bot]
8bbda102d6
Version Packages ( #5290 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
slate-react@0.91.0
2023-02-13 23:44:30 -07:00
Sergei Dedkov
9635b992a0
Compare only decorations offsets in MemoizedText. Code highlighting example improvements. ( #5271 )
...
* add basePath prop to Range inside slate-react custom types, calculate absolute ranges on passing them into TextComponent
* code highlighting example improvements, minor markdown preview refactoring
* changeset added
* Revert "add basePath prop to Range inside slate-react custom types, calculate absolute ranges on passing them into TextComponent"
This reverts commit afa085c289bc67ce3d27dd33b1f074ab8153efe8.
* add basePath prop to Point inside slate-react custom types, resolve relative ranges on passing them to TextComponent
* Update changeset
* linter fixes
* remove redundant checks inside renderElement function
* custom types fixes for Range and Point in examples
* wrap intervals and ranges extractors in useMemo hook for running them only if editor.children is changed
* revert basePath changes, compare only offsets for MemoizedText decorations
* use an element as a key in decorations ranges map instead of id
* simplify code highlighting implementation, make code block nested
* fix code-highlighting example, add toolbar code block button
* remove redundant code
* fix code highlighting playwright integration test
2023-02-09 11:53:21 -07:00
Daniel Lautzenheiser
7d1e60b88f
doc: add static cms ( #5286 )
2023-02-09 11:51:03 -07:00
ilya2204
463edbd27e
feat: allow to change clipboard fragment format name ( #5267 )
...
* feat: allow to change clipboard fragment format name
* chore: add changeset
2023-02-09 11:50:42 -07:00
Sergei Dedkov
fc84fdbd99
fix hovering-toolbar playwright integration test ( #5284 )
2023-02-07 22:13:09 -07:00
github-actions[bot]
9de2e2c316
Version Packages ( #5279 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
slate@0.90.0
slate-react@0.90.0
2023-02-01 04:44:35 -07:00
Kyle McLean
9c4097a26f
Simplify implementation of custom editor styling ( #5278 )
...
* Switch back to using inline styles for default editor styles
* Add example page and test for editor styling
* Add section in docs for editor styling
* Add test for editor height being set to placeholder height
* Add changeset
2023-01-31 19:17:27 -07:00
github-actions[bot]
0f83810704
Version Packages ( #5277 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
slate-react@0.89.0
2023-01-30 22:21:39 -07:00
Dylan Schiemann
c33f8ad92c
Changeset was too aggressive in version
2023-01-30 22:00:36 -07:00
Kyle McLean
3cf51f4d88
Improve compatibility for browsers that do not support ResizeObserver
or :where
selector ( #5265 )
...
* Add fallback for default styles when `:where` selector is not supported
* Add polyfill for ResizeObserver
* Add changeset
2023-01-30 16:37:03 -07:00
PangYiMing
2ab56c32af
add tripdocs link to resources ( #5276 )
2023-01-30 16:33:29 -07:00
Joe Anderson
5bc69d8d65
Firefox: fix wrong text highlighting with double-click (revived PR) ( #5275 )
...
* fix node edges selection on firefox
* add changeset
* Fix type signatures
---------
Co-authored-by: Jawell <skytor08@gmail.com>
2023-01-29 22:11:19 -07:00
Shakirul Hasan Khan
a1b558ac72
doc: syntax highlighting fix on concepts/04-transforms page ( #5266 )
...
* doc: syntax highlighting fix on concepts/04-transforms page
* fix: changes made by code formatter
2023-01-26 05:11:26 -07:00
boweiliu
b56acceb23
Update contributing.md ( #5268 )
2023-01-26 05:05:24 -07:00
Ravi Lamkoti
c691bb3aae
fix: isVoid, isBlock, isInline types ( #5254 )
...
* fix: isVoid, isBlock, isInline types
* fix: remove isElement check with isEditor
2023-01-25 15:35:46 -08:00
eagowang
e9c9d9f4db
Fix forced-layout example trigger insert untitle node ( #5263 )
...
Co-authored-by: 锐雯 <wangyichen@xiaohongshu.com>
2023-01-20 05:54:43 -07:00
Corey Speisman
773abc01ee
bugfix: moves EDITOR_TO_ON_CHANGE into useEffect for double useEffect call in react 18 ( #5261 )
2023-01-19 22:29:36 -07:00
github-actions[bot]
aa4e0327ee
Version Packages ( #5260 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
slate-react@0.88.2
2023-01-14 21:22:46 -07:00
Jaclyn Feminella
d7de564d62
Fix selection getting incorrectly set in readonly shadow dom case ( #5259 )
...
* Fix selection getting incorrectly set in readonly shadow dom case
* Add changeset for slate react
2023-01-14 06:00:38 -07:00
Toby
0df29a9dd7
fix slack links in readme and contributing ( #5256 )
2023-01-13 20:42:22 -07:00
刘小懒
179d5c926e
remove qq browser from beforeinput
compat list ( #5252 )
2023-01-13 20:39:34 -07:00