1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-01-17 21:49:20 +01:00

218 Commits

Author SHA1 Message Date
Toby
0df29a9dd7
fix slack links in readme and contributing (#5256) 2023-01-13 20:42:22 -07:00
Alexey Toksarov
2a18e75c21
Fix links example link in the readme (#4803) 2022-01-27 07:12:21 -07:00
Arsalan Khattak
083a3da220
fix: contributing link (#4344) 2021-07-21 11:38:41 +10:00
Kelly Joseph Price
8db4573236
Fix contributing link (#4297) 2021-05-26 22:15:30 -04:00
Udayan Shevade
1a4c67f5fa
docs: update readme contributing link (#4167) 2021-04-03 15:25:15 -07:00
Ian Storm Taylor
4eec49de16 rename master to main 2021-04-01 13:40:25 -04:00
Ian Storm Taylor
50489b6bc7 update table alignment in readme 2021-04-01 12:31:48 -04:00
Ian Storm Taylor
439742c10f update labels in readme to reduce noise 2021-04-01 12:30:23 -04:00
Ian Storm Taylor
d12413fff9 add v0.59 chinese docs translation, fixes #3985 2021-03-31 17:23:56 -04:00
Ian Storm Taylor
c20855ff52 update chinese translation docs, fixes #3399 2021-03-31 15:26:33 -04:00
Ian Storm Taylor
21943ff96a fix readme lint 2021-03-31 14:45:22 -04:00
Aleksei Semin
0666b712e3
Fix version links in README (#4028)
Current version links are broken, because they point to non-existing paths.
2021-03-31 14:31:10 -04:00
Kiko Estrada
d22c76ae13
Docs: Fix example code links (#4044)
Replaced old .js links with current .tsx format
2021-01-14 17:42:10 -05:00
Synthetic Dream
0d6271bc15
docs: update an example's link (#3514) 2020-02-23 10:44:41 -08:00
Marco Huttunen
e9bad8c5f4
Change lernajs to correct URL (#3475) 2020-02-20 16:28:21 -08:00
Ian Storm Taylor
30bc30df4b
Update Readme.md 2020-02-20 11:06:45 -05:00
Ian Storm Taylor
17ee9f8954
Update Readme.md 2020-02-20 11:04:39 -05:00
Xleine
217bdd611b fix some doc's bug (with v0.57.1) (#3393)
* fix: code blocks's info string
this info string. should be `jsx`

* fix: editor's exec invoke
now, editor.exec() is not available in Slate v0.57.1
so, use editor.insertText() to instead it

*  refactor: delete a nerver used value

* update add new chinese translate
      update chinese translate to `v0.57.1`

Co-authored-by: Ian Storm Taylor <ian@ianstormtaylor.com>
2020-01-27 15:24:15 -05:00
Lucas Willems
8202e08102 Fix link (#3440) 2020-01-27 15:23:53 -05:00
David Calhoun
5797562849 readme: Documentation: fix broken url; http -> https (#3401) 2020-01-27 15:20:50 -05:00
Nikhil Vijayan
74444c28ab fix: update incorrect link (#3381) 2020-01-27 15:20:02 -05:00
Ian Storm Taylor
cc27ed2564 fix typo in readme 2019-12-13 13:16:14 -05:00
Ian Storm Taylor
e68a5cd305
remove the slate-schema package (#3291) 2019-12-10 17:53:27 -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
Charlie Rudenstål
4140066c0b fix links to examples in readme and site (#3132) 2019-11-28 10:33:10 -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
phy
9646f7a5cc fix(docs): correct package's address (#2485) 2018-12-05 12:21:43 -08:00
Ian Storm Taylor
a042dee348
Update Readme.md 2018-11-15 08:31:53 -08:00
Ian Storm Taylor
585dc85185 fix readme badge max ages 2018-11-11 12:48:50 -08:00
Ian Storm Taylor
cfa904bb1f update readme beta notice 2018-10-09 14:13:27 -07:00
Ian Storm Taylor
5ad951f08a update badge labels 2018-10-09 14:11:57 -07:00
Ian Storm Taylor
abbe67dc31 remove more badges 2018-10-09 14:11:04 -07:00
Ian Storm Taylor
6ece0158bf add packages section to readme 2018-10-09 14:10:02 -07:00
Ian Storm Taylor
4983d89368 remove travisci badge, since github covers it 2018-10-09 14:08:34 -07:00
Ian Storm Taylor
9da50c3b9c remove some readme badges 2018-10-09 14:07:36 -07:00
0xflotus
2a024a6806 fixed repositories (#2238) 2018-10-09 08:50:42 -07:00
Arda Beyazoğlu
ec42b18108 Change source code url to be up-to-date (#2127)
Previous ".src" path no longer exists and throws 404.
2018-08-26 10:24:43 -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
Philip Proplesch
35f101c80f Update Readme.md (#1687) 2018-03-21 13:16:30 -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
Francesco Agnoletto
32dd6f5ecc Update links to Plugins (#1522)
* Update links to Plugins

Links to ianstormtaylor were deprected.

* Fix typo
2018-01-11 10:54:30 -08:00
Ian Storm Taylor
db0fd84bbc update cache time for readme badge images 2018-01-10 22:30:29 -08:00
Ian Storm Taylor
9e2c42297c update plugins link in readme 2018-01-10 22:28:12 -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
411e1667d6 fix slate-react size badge 2017-10-31 14:25:05 -07:00
Ian Storm Taylor
c2fe761fcb add version badges 2017-10-31 14:20:26 -07:00
Ian Storm Taylor
81443f0001 fix badges 2017-10-31 14:09:51 -07:00