Abdullah Ammar
863357f994
docs: fix links example not working ( #4986 )
2022-05-17 16:23:32 -07:00
Marc
1356f2afc3
Fix a teeny tiny typo ( #4875 )
2022-03-08 19:32:39 -07:00
Sunny Hirai
a47c35cd95
merge
2021-04-01 18:13:48 -07:00
Ian Storm Taylor
a38957b849
GitBook: [main] 58 pages and 7 assets modified
2021-04-01 23:20:52 +00:00
Ian Storm Taylor
4eec49de16
rename master to main
2021-04-01 13:40:25 -04:00
Kirk Swenson
f6bfe034d7
Fix typos and other minor issues in docs ( #3597 )
...
Fixed typos and grammatical errors in the documentation
2020-04-10 09:05:03 -07:00
Ondrej Stanek
ad881564d8
Fix invalid example link ( #3517 )
...
Hovering menu => Hovering toolbar
2020-02-26 07:47:59 -08:00
Sunny Hirai
3ffd73cd7d
Fix broken link in introduction of docs ( #3357 )
2019-12-18 18:23:05 -08:00
Yoz Grahame
ff516ccad8
Fix introduction links to examples ( #3266 )
...
Existing links (to Github) were 404ing, so I changed them to point to slatejs.org.
Removed the final list item linking to the rest of the examples, since I can't see a page on slatejs.org that does that. Instead, I added a line after the examples list that talks about "View Source" and links to the Github folder listing.
2019-12-06 17:22:56 -05:00
Ian Storm Taylor
124ff37c3a
update docs
2019-12-05 12:52:52 -05:00
Ian Storm Taylor
5e5f1d9046
fix guides links
2019-11-29 08:11:37 -05:00
Ian Storm Taylor
4ff6972096
Next ( #3093 )
...
* remove some key usage from core, refactor Operations.apply
* undeprecate some methods
* convert more key usage to paths
* update deprecations
* convert selection commands to use all paths
* refactor word boundary selection logic
* convert many at-range commands to use paths
* convert wrapBlock and wrapInline to not use keys
* cleanup
* remove chainability from editor
* simplify commands, queries and middleware
* convert deleteAtRange
* remove key usage from schema, deprecate *ByKey methods
* migrate *ByKey tests, remove index from *ByPath signatures
* rename at-current-range tests
* deprecate mode key usage, migrate more tests away from keys
* deprecate range and point methods which rely on keys to work
* refactor insertBlock, without fixing warnings
* add pathRef/pointRef, fix insertBlock/Inline deprecations, work on insertFragment
* refactor insertFragment
* get rich-text example rendering
* fix lint
* refactor query files, fix more tests
* remove unused queries, refactor others
* deprecate splitDescendantsByPath
* merge master
* add typescript, convert slate, slate-hyperscript, slate-plain-serializer
* add Point, Path, Range, Annotation tests
* add Annotation, Change, Element, Fragment, Mark, Range, Selection, Value interfaces tests
* add Operation and Text tests
* add Node tests
* get operations and normalization tests working for slate
* get *AtPath command tests passing
* rename *AtPath command tests
* rename
* get *AtPoint tests working
* rename
* rename
* add value queries tests
* add element, mark and path queries tests
* convert most on-selection tests
* convert on-selection commands
* rename
* get addMarks and delete commands working
* rename
* rename
* rename
* refactor value.positions(), work on delete tests
* progress on delete tests
* more delete work
* finish delete tests
* start converting to at-based commands
* restructure query tests
* restructure operations tests
* more work converting to multi-purpose commands
* lots of progress on converting to at-based commands
* add unwrapNodes
* remove setValue
* more progress
* refactor node commands to use consistent matching logic
* cleanup, get non-fragment commands passing
* remove annotations and isAtomic
* rename surround/pluck to cover/uncover
* add location concept, change at-path to from-path for iterables
* refactor batches
* add location-based queries
* refactor hanging logic
* more location query work
* renaming
* use getMatch more
* add split to wrap/unwrap
* flip levels/ancestors ordering
* switch splitNodes to use levels
* change split to always:false by default
* fix tests
* add more queries tests
* fixing more delete logic
* add more splitNodes tests
* get rest of delete tests passing
* fix location-based logic in some commands
* cleanup
* get previous packages tests passing again
* add slate-history package
* start slate-schema work
* start of react working
* rendering fixes
* get rich and plain text examples working
* get image example working with hooks and dropping
* refactor onDrop to be internal
* inline more event handlers
* refactor lots of event-related logic
* change rendering to use render props
* delete unused stuff
* cleanup dom utils
* remove unused deps
* remove unnecessary packages, add placeholder
* remove slate-react-placeholder package
* remove unused dep
* remove unnecessary tests, fix readonly example
* convert checklists example
* switch to next from webpack
* get link example working
* convert more examples
* preserve keys, memoized leafs/texts, fix node lookup
* fix to always useLayoutEffect for ordering
* fix annotations to be maps, memoize elements
* remove Change interface
* remove String interface
* rename Node.entries to Node.nodes
* remove unnecessary value queries
* default to selection when iterating, cleanup
* remove unused files
* update scroll into view logic
* fix undoing, remove constructor types
* dont sync selection while composing
* add workflows
* remove unused deps
* convert mentions example
* tweaks
* convert remaining examples
* rename h to jsx, update schema
* fix schema tests
* fix slate-schema logic and tests
* really fix slate-schema and forced-layout example
* get start of insertFragment tests working
* remove Fragment interface
* remove debugger
* get all non-skipped tests passing
* cleanup deps
* run prettier
* configure eslint for typescript
* more eslint fixes...
* more passing
* update some docs
* fix examples
* port windows undo hotkey change
* fix deps, add basic firefox support
* add event overriding, update walkthroughs
* add commands, remove classes, cleanup examples
* cleanup rollup config
* update tests
* rename queries tests
* update other tests
* update walkthroughs
* cleanup interface exports
* cleanup, change mark transforms to require location
* undo mark transform change
* more
* fix tests
* fix example
* update walkthroughs
* update docs
* update docs
* remove annotations
* remove value, move selection and children to editor
* add migrating doc
* fix lint
* fix tests
* fix DOM types aliasing
* add next export
* update deps, fix prod build
* fix prod build
* update scripts
* update docs and changelogs
* update workflow and pull request template
2019-11-27 20:54:42 -05:00
Ivan Ha
b3107fc142
docs: fix immutablejs doc domain ( #2655 )
2019-03-25 19:23:53 -07:00
Vritant Bhardwaj
6bf36a35d4
Update link to source ( #2497 )
...
The link to the package directory previously lead to a 404 page.
2019-01-29 16:04:05 -08:00
Ian Storm Taylor
c615a89fec
Update Introduction.md
2018-11-15 08:33:05 -08:00
Ian Storm Taylor
c184be6da4
Update Introduction.md
2018-11-15 08:32:18 -08:00
Ankit Goel
5849dcb810
Fix broken links ( #2426 )
2018-11-15 08:08:05 -08:00
Ian Storm Taylor
7a71de387c
Add controller ( #2221 )
...
* fold Stack into Editor
* switch Change objects to be tied to editors, not values
* introduce controller
* add the "commands" concept
* convert history into commands on `value.data`
* add the ability to not normalize on editor creation/setting
* convert schema to a mutable constructor
* add editor.command method
* convert plugin handlers to receive `next`
* switch commands to use the onCommand middleware
* add queries support, convert schema to queries
* split out browser plugin
* remove noop util
* fixes
* fixes
* start fixing tests, refactor hyperscript to be more literal
* fix slate-html-serializer tests
* fix schema tests with hyperscript
* fix text model tests with hyperscript
* fix more tests
* get all tests passing
* fix lint
* undo decorations example update
* update examples
* small changes to the api to make it nicer
* update docs
* update commands/queries plugin logic
* change normalizeNode and validateNode to be middleware
* fix decoration removal
* rename commands tests
* add useful errors to existing APIs
* update changelogs
* cleanup
* fixes
* update docs
* add editor docs
2018-10-09 14:03:27 -07:00
David Chang
f37dd21137
[hyperscript] rename decorators option in params to decorations ( #2074 )
...
#### Is this adding or improving a _feature_ or fixing a _bug_?
Debt.
#### What's the new behavior?
`createHyperscript` takes an options object that now looks for the `decorations` property instead of the `decorators` property
#### How does this change work?
Pretty straightforward rename of an option, then all of its uses and wherever the term decorators showed up in docs
#### Have you checked that...?
* [x] The new code matches the existing patterns and styles.
* [x] The tests pass with `yarn test`.
* [x] The linter passes with `yarn lint`. (Fix errors with `yarn prettier`.)
* [x] The relevant examples still work. (Run examples with `yarn watch`.)
#### Does this fix any issues or need any specific reviewers?
Fixes : #1996
Reviewers: @ianstormtaylor
2018-08-15 12:41:39 -07:00
Renaud Chaput
de4c9e478a
Lint JSON, CSS and Markdown files with Prettier ( #1612 )
...
* Process and Lint CSS, Markdown and JSON files with Prettier
* Run `yarn prettier` to re-format Markdown, CSS and JSON files
2018-02-07 07:58:41 -08:00
Ian Storm Taylor
9f358d1d29
update plugins reference links
2018-01-10 22:21:10 -08:00
Ian Storm Taylor
5df62975a9
update readmes
2017-12-02 13:48:51 -08:00
Ian Storm Taylor
ac14038607
update readme and docs
2017-10-26 16:29:04 -07:00
Ian Storm Taylor
8d60943645
update docs
2017-10-18 01:12:43 -07:00
Ian Storm Taylor
bad40ad303
update docs
2017-10-18 00:48:28 -07:00
Ian Storm Taylor
a28bd4100b
update docs
2017-10-17 18:49:02 -07:00
Ian Storm Taylor
db996df698
update docs
2017-10-13 19:39:43 -07:00
Ian Storm Taylor
5faaadf2ce
add chinese translation to the readme and docs, closes #1228
2017-10-13 19:37:11 -07:00
Ian Storm Taylor
c98ad903c8
Upgrade docs ( #1182 )
...
* remove table of contents
* remove more hard-coded table of contents
* remove comparisons, rewrite "why" section to be more general
* update intro
2017-09-25 11:50:23 -07:00
Ian Storm Taylor
560dbe5038
fix docs links, closes #1116
2017-09-12 08:55:15 -07:00
Ian Storm Taylor
0f530796f5
update docs
2017-09-11 19:36:46 -07:00
Ian Storm Taylor
ace9f47930
change slate to be a monorepo using lerna ( #1106 )
...
* init lerna, move files into ./packages
* move test files into ./packages
* more moving around
* fill out package.json files
* fixing imports
* more fixing of imports, and horribleness
* convert examples, fix linting errors
* add documentation
* update docs
* get tests passing
* update travis.yml
* update travis.yml
* update travis.yml
* update test script
* update travis.yml
* update scripts
* try simplifying travis.yml
* ocd stuff
* remove slate-core-test-helpers package
* add package readmes
* update reference docs structure
* refactor slate-simulator into its own package
* add docs for new packages
* update docs
* separate benchmarks into packages, and refactor them
2017-09-11 18:11:45 -07:00