1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-09-03 12:12:39 +02:00

Commit Graph

  • f6b7ca1f97 Run <Slate />'s focus event listeners after <Editable />'s focus handlers in React >= 17 (#4920) Adrien Wald 2022-04-03 17:08:25 +01:00
  • 9892cf0ffb Make onChange prop optional, update examples and docs to treat slate as uncontrolled (#4922) Eric Meier 2022-04-03 16:52:32 +01:00
  • 08d5a12c91 Call keyDown handler while composing (#4923) Eric Meier 2022-04-03 16:44:46 +01:00
  • 7de7cdcf56 Restore user selection after beforeinput with target range (#4919) Eric Meier 2022-03-31 12:18:23 +01:00
  • 737f2917e2 add breaking test fix-slate-uneven-inline Julian Krispel-Samsel 2022-03-25 15:30:38 +00:00
  • af4d5bf838 wip Julian Krispel-Samsel 2022-03-25 14:44:01 +00:00
  • ce63a08c8e Version Packages (#4898) slate@0.76.0 slate-react@0.76.0 github-actions[bot] 2022-03-25 01:03:44 +00:00
  • 5ef346feb9 Fix NODE_TO_KEY correction for split_node and merge_node (#4901) Bryan Haakman 2022-03-25 01:57:17 +01:00
  • 2a8d86f1a4 Fix child element decorations (#4910) jasonphillips 2022-03-24 19:31:35 -05:00
  • 43ca2b56c8 feat: add merge to setNodes and test (#4912) zhugexinxin 2022-03-24 15:25:36 +08:00
  • 3453432f7a Revert "Add merge to set node (#4905)" (#4913) Dylan Schiemann 2022-03-24 00:24:48 -07:00
  • a0ccf7ba74 Revert "Add merge to set node (#4905)" revert-4905-add_merge_to_set_node Dylan Schiemann 2022-03-24 00:24:29 -07:00
  • 9c758bb4cb Add merge to set node (#4905) zhugexinxin 2022-03-24 13:56:17 +08:00
  • 947883435f Fix logic in test, fixes #4764 (#4899) Dylan Schiemann 2022-03-20 04:44:54 -07:00
  • efd6543e61 Fix logic in test, fixes #4764 slate-hyperscript-test-fix Dylan Schiemann 2022-03-20 04:37:34 -07:00
  • 20acca4bc8 Add soft break as a separate overridable editor method (#4873) Bryan Haakman 2022-03-20 12:30:08 +01:00
  • 07669dca4b When resolving a slate Point from a DOM selection (toSlatePoint), consider that a node is only void if it's within the same editor that is resolving the Point. (#4885) Ryan Mitts 2022-03-20 04:04:33 -07:00
  • 1433499e98 Version Packages (#4890) slate@0.75.0 slate-react@0.75.0 github-actions[bot] 2022-03-14 22:36:10 -07:00
  • b5714a1d68 add missing changeset from #4889 (#4891) Dylan Schiemann 2022-03-14 22:28:04 -07:00
  • 970523f881 feat: add custom compare node props (#4889) zhugexinxin 2022-03-15 07:21:44 +08:00
  • 3b3b0e32df Fix chrome and edge three digit version check (#4883) Mohammad ali Ali panah 2022-03-15 02:49:36 +03:30
  • 2a620dc20d Version Packages (#4880) slate-react@0.74.2 github-actions[bot] 2022-03-09 04:23:12 -07:00
  • 1b205c087b Fix stale decorations (#4876) Nemanja Tosic 2022-03-09 12:06:18 +01:00
  • 111f8ca9e3 Update release to use Node.js v16 (#4879) Dylan Schiemann 2022-03-08 22:17:34 -07:00
  • e03ac566c8 Fix slack invite link in issue template node16-release Dylan Schiemann 2022-03-08 22:17:01 -07:00
  • ab0fe1de8f Update ci.yml node config Dylan Schiemann 2022-03-08 22:16:07 -07:00
  • 8225134974 Update comment workflow to Node.js v16 Dylan Schiemann 2022-03-08 22:15:28 -07:00
  • bceca04c4f Update release to use Node.js v16 Dylan Schiemann 2022-03-08 21:36:18 -07:00
  • 456d9baece Attempt to clear GH actions cache with key (#4878) Dylan Schiemann 2022-03-08 21:20:30 -07:00
  • 9e86d61abf Attempt to clear GH actions cache with key workflow-clear-cache Dylan Schiemann 2022-03-08 21:19:43 -07:00
  • 4d28948b90 Invert https://github.com/ianstormtaylor/slate/pull/4755 (#4874) Bryan Haakman 2022-03-09 03:40:50 +01:00
  • 1356f2afc3 Fix a teeny tiny typo (#4875) Marc 2022-03-09 03:32:39 +01:00
  • 9907ad004e Update to Node v16 for infrastructure (#4877) Dylan Schiemann 2022-03-08 19:25:28 -07:00
  • 6475d620f9 update node type def to Node 16 node16 Dylan Schiemann 2022-03-08 19:00:00 -07:00
  • 3aa9df79a1 Update to Node v16 for infrastructure Dylan Schiemann 2022-03-08 18:52:48 -07:00
  • 7122454583 Version Packages (#4872) slate-react@0.74.1 github-actions[bot] 2022-03-07 16:26:25 -07:00
  • ff2ca84772 Fix slate-react relase (#4870) Dylan Schiemann 2022-03-07 16:20:55 -07:00
  • e5fac96792 Fix slate-react relase changeset-fix Dylan Schiemann 2022-03-07 16:04:41 -07:00
  • 7499d4b4c0 fixed cursor when we triple click on text and type over it #4862 (#4868) yongzs 2022-03-07 18:58:34 +08:00
  • 53f47b01d1 EXAMPLES: fix focus bug for hovering toolbar example (#4866) Jan Paepke 2022-03-07 05:43:58 +01:00
  • 8f646ce84e Add Simple Alignment to richtext example (#4867) Daniel Shotonwa 2022-03-07 06:43:22 +02:00
  • 68aff89e89 Version Packages (#4863) slate-react@0.74.0 github-actions[bot] 2022-03-03 18:47:48 -07:00
  • df1720d311 DOCS: improved deserialization example (#4856) Jan Paepke 2022-03-04 02:27:19 +01:00
  • 47f2403e3a Feature/slate selectors (#4841) Fabio Moretti 2022-03-04 02:25:56 +01:00
  • f0530d2097 Version Packages (#4859) slate@0.73.1 github-actions[bot] 2022-03-01 22:50:27 -07:00
  • 33be22f3e3 Reverted 03861af (#4804) and added a test for the exception it caused (#4858) Andrew Herron 2022-03-02 15:47:00 +10:00
  • 442d263672 Version Packages (#4843) slate@0.73.0 slate-react@0.73.0 github-actions[bot] 2022-02-23 13:16:57 -07:00
  • 465cf777cd Define "hanging range" and intended behavior of unhangRange (#4852) Jim Fisher 2022-02-23 20:13:09 +00:00
  • 482b090e6f fix point transform for insert_text to account for affinity (#4848) Samu 2022-02-23 21:08:00 +01:00
  • 100448d55c render void spacer in readonly mode (#4840) Eric Meier 2022-02-17 12:57:30 +01:00
  • b8020ee6fc Document additional schema constraints due to design of operations (#4838) Jim Fisher 2022-02-16 16:22:08 +00:00
  • 9267355d22 Version Packages (#4820) slate-react@0.72.9 github-actions[bot] 2022-02-11 04:18:07 -07:00
  • d5ac82373b fix isDraggingInternally reset logic (#4828) Eric Meier 2022-02-11 05:00:17 +01:00
  • 80661509ec fix not update state when unmounted (#4819) Masanori Onoue 2022-02-05 20:36:25 +09:00
  • 4b97197f9a Version Packages (#4815) slate@0.72.8 slate-react@0.72.8 github-actions[bot] 2022-01-31 12:43:10 -07:00
  • d54bc12f33 Update olive-bags-talk.md Dylan Schiemann 2022-01-31 12:22:39 -07:00
  • 27deaf3175 fix build (prettier) (#4817) Dylan Schiemann 2022-01-31 11:50:34 -07:00
  • 6d62abc103 Revert #4749 (#4816) Dylan Schiemann 2022-01-31 07:57:41 -07:00
  • 620836004d Create olive-bags-talk.md revert-4749 Dylan Schiemann 2022-01-31 07:56:51 -07:00
  • 6ca6ee4eab Revert #4749 Dylan Schiemann 2022-01-31 07:55:31 -07:00
  • 03861afc62 update insertText logic when selection is not collapsed (#4804) V_Lute 2022-01-29 00:33:57 +08:00
  • 01dc0c57b2 Fix failing unhangRange test case with inlines (#4814) Bryan Haakman 2022-01-28 17:33:20 +01:00
  • 6ef6454e44 Version Packages (#4799) slate-react@0.72.7 github-actions[bot] 2022-01-27 21:55:12 -07:00
  • a5fd62ddd6 fix: toSlatePoint suppressThrow leaf without text node (#4813) Eric Meier 2022-01-28 02:09:05 +01:00
  • e998752989 fix: flush onDOMSelectionChange on onDOMBeforeInput (#4809) Eric Meier 2022-01-27 15:20:08 +01:00
  • 2a18e75c21 Fix links example link in the readme (#4803) Alexey Toksarov 2022-01-27 17:12:21 +03:00
  • 3796c514d6 fix: text content not rendered on ssr (#4798) Sihong 2022-01-22 18:53:56 +08:00
  • 33c93a90c5 Version Packages (#4797) slate-react@0.72.6 github-actions[bot] 2022-01-20 04:50:46 -07:00
  • 5d8a160669 fix: text not rendered on server-side rendering (#4796) Sihong 2022-01-20 18:32:15 +08:00
  • a65aec1c27 Version Packages (#4794) slate-react@0.72.5 github-actions[bot] 2022-01-19 09:23:34 -07:00
  • a3dfb151d4 Fix: when switching between editors, Slate selection and DOM Selection can mismatch which causes React to break (#4749) Vsevolod Rodionov 2022-01-19 17:53:26 +03:00
  • 9f3aee5536 Merge layout effects for adding focus and blur event listeners (#4790) David Brito 2022-01-19 10:51:42 -04:00
  • 11253c5c3b Version Packages (#4761) slate-react@0.72.4 github-actions[bot] 2022-01-13 10:14:25 -07:00
  • a8c08a4e01 Android merge Editor.insertText logic. (#4788) 陈耀耀 2022-01-13 21:24:36 +08:00
  • 67aa1f1010 Rollback 4779 and always call Transforms.setSelection (#4786) Alessio Galdy 2022-01-12 18:53:14 +01:00
  • ce1e096df7 update emotion dependency for site (#4783) Dylan Schiemann 2022-01-11 15:36:04 +00:00
  • 345b8fc9e8 Fix Android editor.insertText regression (#4779) Alessio Galdy 2022-01-11 12:37:05 +01:00
  • e3a325f8a6 iframe example - use an onLoad callback instead of the ref (#4758) Adrian 2022-01-11 00:21:20 +01:00
  • 8daa77e9fa run focus event listener after existing onFocus handlers (#4755) Jacob Hurwitz 2022-01-10 15:20:47 -08:00
  • 51e02de9de Update docs to reflect Slate is an uncontrolled component (#4768) Antonio Sanchez Gomez 2022-01-10 11:42:46 +01:00
  • 1b0e7c6b92 Docs shouldn't useMemo for editor (#4766) Desmond Brand 2022-01-08 03:34:40 -08:00
  • cc9cba017a Revert "Warn when normalization removes node (#4769)" (#4776) Dylan Schiemann 2022-01-07 23:21:54 +00:00
  • ce170cd565 Revert "Warn when normalization removes node (#4769)" revert-4769-warn-removing-node Dylan Schiemann 2022-01-07 16:07:44 -07:00
  • 4b2d4de4bf Show example of a workaround for Chrome bug that puts cursor in wrong place (#4772) Jim Fisher 2022-01-06 20:15:14 +00:00
  • 0ca31e7498 Warn when normalization removes node (#4769) Jim Fisher 2022-01-06 00:44:48 +00:00
  • e9a46ad29e Fix editor.insertText never gets called inside plugins on Android (#4753) Alessio Galdy 2022-01-04 14:10:35 +01:00
  • 735d2d047a Version Packages (#4743) slate@0.72.3 github-actions[bot] 2021-12-23 05:22:05 -07:00
  • a54a8e317f Version Packages (#4736) github-actions[bot] 2021-12-22 05:05:07 -07:00
  • c90ec8e837 Adds documentation for PathRef (#4740) Doug Reeder 2021-12-22 07:04:14 -05:00
  • 205d4b7e66 Add tests for Editor.unhangRange() (#4703) Ivan Voskoboinyk 2021-12-22 14:02:50 +02:00
  • e5427dddfc Avoid transforming dirty paths if the op won't touch them (#4735) Steve Marquis 2021-12-18 07:39:09 -08:00
  • ccafb6982f Optimize TextString rendering to support browser/OS text features, eg fix native spellcheck (#4733) Peter Sipos 2021-12-18 16:38:51 +01:00
  • 228cee56a1 Clarifies when to use Editor.insertNode vs. Transforms.insertNodes (#4731) Doug Reeder 2021-12-18 09:05:10 -05:00
  • 65708358bb fix: isBlockActive should use Array.from() (#4662) Dan Tello 2021-12-17 07:34:18 -05:00
  • ab62da2064 chore: add vscode launch.json debug config (#4729) Alex 2021-12-17 13:01:10 +01:00
  • 5d3eccf262 Documents use of Editor.withoutNormalizing in conjunction with normalization (#4737) Doug Reeder 2021-12-17 00:15:22 -05:00
  • 3c07a8706e fix: [AndroidEditor] Solve input association problems and add click events. (#4734) 陈耀耀 2021-12-17 05:33:50 +08:00
  • 7bfb61c769 Version Packages (#4723) slate-react@0.72.1 github-actions[bot] 2021-12-10 08:58:00 -07:00
  • e04671ffe8 Clarifies docs for RangeRef & PointRef; fixes TOC for Editor API (#4724) Doug Reeder 2021-12-10 07:53:37 -05:00
  • 0334851cb1 Fix "Cannot resolve from DOM point" error on onDomSelectionChange for readonly void elements (#4727) Alex 2021-12-10 13:52:03 +01:00