1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-03-31 11:32:27 +02:00

122 Commits

Author SHA1 Message Date
Bryan Haakman
20acca4bc8
Add soft break as a separate overridable editor method (#4873)
add changeset
2022-03-20 04:30:08 -07:00
Jan Paepke
df1720d311
DOCS: improved deserialization example (#4856)
* Updated deserialize function

* forgot the .flat()

* made prettier happier
2022-03-03 18:27:19 -07:00
Jim Fisher
b8020ee6fc
Document additional schema constraints due to design of operations (#4838)
As discussed in https://github.com/ianstormtaylor/slate/issues/4836
2022-02-16 09:22:08 -07:00
Doug Reeder
5d3eccf262
Documents use of Editor.withoutNormalizing in conjunction with normalization (#4737) 2021-12-16 22:15:22 -07:00
Doug Reeder
7d9d25e179
Adds clarification & examples to demystify Transforms. (#4653)
* Adds clarification & examples to demystify Transforms.

* Fleshes out documentation of NodeOptions for Transforms

* Update docs/concepts/04-transforms.md

Co-authored-by: Dylan Schiemann <dylan@dojotoolkit.org>

* Uses 'API' in the title of all API documents

Co-authored-by: Dylan Schiemann <dylan@dojotoolkit.org>
2021-11-16 02:20:43 -07:00
Doug Reeder
43e740c88d
docs: clarifies not setting editor values directly & plugin order (#4571)
* Updates "Saving to a Database" example to distinguish actual content changes.

* Update docs/walkthroughs/06-saving-to-a-database.md

* Update docs/walkthroughs/06-saving-to-a-database.md

* Update docs/walkthroughs/06-saving-to-a-database.md

* Runs prettier

* docs: clarifies not setting editor values directly & plugin order

* Changes reccommended order of withReact & withHistory, to match current knowleged

Co-authored-by: Dylan Schiemann <dylan@dojotoolkit.org>
2021-10-11 17:40:38 -07:00
Sunny Hirai
8e02c65184 docs: Fix lint maybe. 2021-10-10 21:22:32 -07:00
Sunny Hirai
8a81b0ea3d docs: updated concepts so Editor Interface matches API reference 2021-10-10 15:27:36 -07:00
Dylan Schiemann
5f6d7b4770
Fix typo in TypeScript concepts documentation (#4468)
Fixed #4467
2021-08-24 21:40:00 -07:00
Pulkit Singh
69ee04ac14
Update 02-nodes.md (#4442)
* Update 02-nodes.md

* Update 02-nodes.md
2021-08-11 12:55:41 -07:00
Pulkit Singh
706f2fc072
Update 01-interfaces.md (#4424)
* Update 01-interfaces.md

* Update docs/concepts/01-interfaces.md

* Update docs/concepts/01-interfaces.md

* Update docs/concepts/01-interfaces.md

* Update docs/concepts/01-interfaces.md

Co-authored-by: Dylan Schiemann <dylan@dojotoolkit.org>
2021-08-08 14:48:16 -07:00
Chase Adams
5169cf5ddb
fix sentence order in doc (#4363) 2021-08-04 21:55:37 -07:00
Sunny Hirai
106dd9cb37 docs: describe how empty element children normalization executes before all other normalizations 2021-07-19 17:52:53 -07:00
Sunny Hirai
acfcd9aaf6 docs: Small change to 12-typescript.md to test linting 2021-07-08 22:47:01 -07:00
Sunny Hirai
e377c8f6d2 docs: Small change to test lint staging 2021-07-08 22:45:47 -07:00
Sunny Hirai
7ea482c3e3 docs: Improve wording on TypeScript docs 2021-07-08 20:05:32 -07:00
Coury Ditch
03eed53cf1
Fix typescript docs (#4303)
* Add docs on annotations for useState and initial editor value

* Typescript docs: Use initialValue
2021-07-08 19:50:13 -07:00
Sunny Hirai
438722df87 Add links from concepts/editor to Editor API Reference 2021-05-20 23:54:42 -07:00
Sunny Hirai
53324cb7ca Adjust link references to be consistent with other by adding Robot emoji and blockquote 2021-05-20 23:50:18 -07:00
Sunny Hirai
76cfab15b4 Fix link target in concepts/nodes 2021-05-20 23:46:18 -07:00
Sunny Hirai
fcdcbc128d Fix link in concepts/nodes 2021-05-20 23:43:45 -07:00
Sunny Hirai
ecf26bf6cf Fix another link in concepts/transforms 2021-05-20 23:42:06 -07:00
Sunny Hirai
5dea3d2fc8 Another attempt to fix broken links using .md extension 2021-05-20 23:39:26 -07:00
Sunny Hirai
f12a9ed9b1 Attempt to fix broken links in GitBook to API Reference 2021-05-20 23:34:56 -07:00
Sunny Hirai
832597fe91 Add link to Selection Transforms API Reference in Transforms Concepts 2021-05-20 23:31:11 -07:00
Rickert Mulder
351d0a1c36
Fix typo (#4252)
complience -> compliance
2021-05-13 07:08:09 +10:00
Michal Srb
bcb7c4e4c5
Fix range API link (#4194) 2021-04-13 09:56:59 -04:00
Ian Storm Taylor
68e39215bb
Update 04-transforms.md 2021-04-12 14:14:31 -04:00
Ian Storm Taylor
9613d832e5 update docs 2021-04-07 18:16:45 -04:00
Ian Storm Taylor
41aa2754ee update docs 2021-04-07 18:16:24 -04:00
Ian Storm Taylor
4b3dc18f73 update docs 2021-04-07 18:15:03 -04:00
Ian Storm Taylor
787a79fede update docs 2021-04-07 18:13:33 -04:00
Ian Storm Taylor
f183bde599
add transforms concept docs (#4179) 2021-04-07 18:03:57 -04:00
Sunny Hirai
5635f9011d docs: Fix link to Range reference 2021-04-06 21:49:26 -07:00
Sunny Hirai
4bfd21534a docs: Fix link in Nodes to be a relative link so it doesn't open a new tab 2021-04-06 21:47:36 -07:00
Sunny Hirai
0b0328b2d0 docs: Improve wording on TypeScript migrating 2021-04-01 20:11:51 -07:00
Sunny Hirai
b16051e00b docs: Improve formatting on the TypeScript migration instructions 2021-04-01 18:21:13 -07:00
Sunny Hirai
6e64c85b77 docs: Added migrating gotchas to typescript documentation 2021-04-01 18:18:42 -07:00
Sunny Hirai
a47c35cd95 merge 2021-04-01 18:13:48 -07:00
Sunny Hirai
8b44646fa7 docs: Minor change to try and make gitbook update 2021-04-01 18:12:33 -07:00
Ian Storm Taylor
a38957b849
GitBook: [main] 58 pages and 7 assets modified 2021-04-01 23:20:52 +00:00
Sunny Hirai
15966086d4 docs: Small wording change 2021-04-01 13:47:13 -07:00
Sunny Hirai
57174a318e docs: Add documentation to help with TypeScript migration 2021-04-01 13:39:50 -07:00
Stefan Kupresak
0f8b5cfa2e
Update 09-serializing.md (#4159)
This is a typo in the docs. You can't have `children` be a `const` because inside the `if` block you change it. It needs to be defined as let, or else it doesn't work.
2021-04-01 12:45:24 -04:00
Ian Storm Taylor
df23ed7aa7 port update to serialization pr to master 2021-03-31 22:00:33 -04:00
Silviu Bogan
b4641d1486
Small correction to docs concepts/06-editor.md (#4047) 2021-03-31 14:46:00 -04:00
Marius Butuc
9de9495095
[docs] Prune import that is never used (#4149)
* [docs] Prune import that is never used

In the Serializing docs, for the `serialize` function for HTML example,
we import `Node` but never use it in the scope of the example. Remove it
to eliminate the possibility for confusion.

* Remove duplicated white line from TypeScript docs
2021-03-30 22:08:37 -07:00
Sunny Hirai
cd07f2f61b docs: Fix lint prettier issue 2021-03-30 14:51:04 -07:00
Sunny Hirai
4425a783fc docs: Improve wording on TypeScript docs and emphasized the warning 2021-03-29 18:07:45 -07:00
Sunny Hirai
e81acf5841 docs: TypeScript is now a latest release so removed mention of installing @next release in TypeScript docs 2021-03-29 18:05:07 -07:00