Ian Storm Taylor
44eccca60a
Publish
...
- slate-base64-serializer@0.2.21
- slate-dev-logger@0.1.37
- slate-html-serializer@0.5.2
- slate-hyperscript@0.5.2
- slate-plain-serializer@0.5.2
- slate-prop-types@0.4.19
- slate-react@0.11.2
- slate-schema-violations@0.1.0
- slate-simulator@0.4.19
- slate@0.32.2
slate@0.32.2
slate-simulator@0.4.19
slate-schema-violations@0.1.0
slate-react@0.11.2
slate-prop-types@0.4.19
slate-plain-serializer@0.5.2
slate-hyperscript@0.5.2
slate-html-serializer@0.5.2
slate-dev-logger@0.1.37
slate-base64-serializer@0.2.21
2018-01-26 12:34:47 -08:00
Ian Storm Taylor
598513a5fc
fix linter
2018-01-26 12:33:54 -08:00
Ian Storm Taylor
4db6b1d7fe
update docs
2018-01-26 12:31:51 -08:00
Ian Storm Taylor
b8ca5d04df
update docs
2018-01-26 12:31:15 -08:00
Ian Storm Taylor
10eea06a8a
refactor schema violations to be a separate package
2018-01-26 12:28:40 -08:00
CameronAckermanSEL
ef5106e30f
Improve normalize suppression to make less verbose and safer ( #1549 )
...
* change normalization can be set with setOperationFlag, and changes can be executed in sequence with automatic suppression with guaranteed document normalization at the end.
* responded to developer feedback by renaming execute to withMutations (to mirror immutable JS), implemented tests, updated documentation
* fixed typos discovered in review.
* fixed missing normalize flag usages and added withMutations to the schemas guide
* responded to developer feedback
* fixed lint errors and cleaned up code
* readd missing tests
* getFlag now allows options to override the change flags
* removed normalize restoration asserts from unit tests
* unit test cleanup
2018-01-26 11:32:37 -08:00
Zach Schneider
00165a3155
Convert to babel-preset-env and upgrade build and linting packages. ( #1557 )
2018-01-26 10:55:29 -08:00
Gabriel Ramos Takeda
1467d687bd
change reboo to nossas organization's editor name ( #1564 )
2018-01-26 10:22:56 -08:00
Zach Schneider
55e34e6d97
Fix code highlighting example ( #1560 )
2018-01-26 10:15:03 -08:00
Zach Schneider
1e128fffdd
Switch to package.json "files" configuration rather than .npmignore ( #1559 )
2018-01-26 10:14:05 -08:00
Zach Schneider
856d033c5f
Link to changelog in docs to generate links correctly. ( #1540 )
2018-01-25 13:31:21 -08:00
Zach Schneider
508cc74e3a
Upgrade to lerna 2.7 to correct peer dependency management ( #1539 )
2018-01-25 13:14:55 -08:00
Blake Embrey
4e8dd7405a
Fix selection replacement and marks ( #1473 )
...
* Fix selection replacement and marks
* Create `getInsertMarks` method for text insertion
2018-01-25 13:08:17 -08:00
DamareYoh
7d5a33025b
added export constant enum for schema violations ( #1532 )
...
* added export constant enum for schema violations
* updated examples to use the schema violations enum
* use SchemaViolations enum in tests and docs
* fixed path for schema violations import
2018-01-17 10:24:28 -05:00
Jinxuan Zhu
e6c7934cb9
Document: add change.snapshotSelection
in the change.md ( #1534 )
...
* docs: add chang.snapshotSelection
* Minor style tweaks
2018-01-17 00:05:29 -05:00
Jenna Nichols
bc7acefff2
Append copied fragment to editor DOM node instead of page body ( #1533 )
...
* append fragment to editor DOM node instead of body
* remove semicolon
2018-01-16 22:46:22 -05:00
Conor Cussell
62ffb4681b
Remove parse5 ( #1531 )
...
Fix stripUnwantedAttrs
Remove .only
Remove parse5 from deps
Better imports
Cleanup
More succint removal of attributes
2018-01-13 15:41:48 -08:00
Francesco Agnoletto
48f198b210
Remove deprecated plugin ( #1530 )
...
From https://github.com/withspectrum/slate-mentions
WE'VE SWITCHED TO DRAFT.JS, SO THIS REPO IS NO LONGER MAINTAINED!
Last version was released 8 months ago && was just a beta, not production ready.
2018-01-13 15:40:46 -08:00
Francesco Agnoletto
cfe5dac0f8
Fix broken links on docs ( #1529 )
...
@ianstormtaylor plugins + typo in core-plugins link
2018-01-13 09:24:52 -08:00
Ben Gotow
73392b9596
Update search-highlighting example per #1454 ( #1526 )
2018-01-12 10:41:17 -08:00
Sunny Hirai
6673e1ec6d
Merge pull request #1515 from thesunny/ios-fix
...
Fixed scroll-to-selection jumping to top on iOS 11
2018-01-11 15:41:53 -08:00
Ian Storm Taylor
6cfc864472
Publish
...
- slate-base64-serializer@0.2.20
- slate-html-serializer@0.5.1
- slate-hyperscript@0.5.1
- slate-plain-serializer@0.5.1
- slate-prop-types@0.4.18
- slate-react@0.11.1
- slate-simulator@0.4.18
- slate@0.32.1
slate@0.32.1
slate-simulator@0.4.18
slate-react@0.11.1
slate-prop-types@0.4.18
slate-plain-serializer@0.5.1
slate-hyperscript@0.5.1
slate-html-serializer@0.5.1
slate-base64-serializer@0.2.20
2018-01-11 12:02:39 -08:00
David Hrdlicka
6f1fd08fcd
Expose core plugins ( #1524 )
2018-01-11 12:01:03 -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
Sunny Hirai
3d86533b5b
Updated scroll-to-selection so it skips the scroll only on version 11 of iOS.
2018-01-11 10:06:41 -08:00
Sunny Hirai
69e53cb556
Merged upstream/master
2018-01-11 09:55:07 -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
Ryan Grove
b991d71abf
Fix double-handling of iOS return and backspace keypresses ( #1520 )
...
Fixes #1519
2018-01-10 22:26:42 -08:00
Ian Storm Taylor
c9f98525b2
remove editors section from plugins docs
2018-01-10 22:22:52 -08:00
Ian Storm Taylor
9f358d1d29
update plugins reference links
2018-01-10 22:21:10 -08:00
Ian Storm Taylor
a5c0f668ca
update plugins doc
2018-01-10 22:19:05 -08:00
Ian Storm Taylor
17a1c49cea
update plugins doc
2018-01-10 22:15:45 -08:00
Ian Storm Taylor
a51180cfb7
add plugins doc
2018-01-10 22:10:55 -08:00
Sunny Hirai
9d2c6d4e05
Merge remote-tracking branch 'upstream/master' into ios-fix
2018-01-10 17:13:50 -08:00
Sunny Hirai
7dee55d066
Updated scroll-to-selection to abort only if on iOS 11
2018-01-10 16:57:39 -08:00
Justin Weiss
1a2a75bf94
Merge pull request #1514 from aha-app/fix-text-delete-selection-changes
...
Move selection to the offset of remove_text if it's in its bounds
2018-01-10 16:46:13 -08:00
Justin Weiss
4781a0ea66
Change operation tests to take a list of operations
2018-01-10 15:36:09 -08:00
Sunny Hirai
d96a528ac0
Fixed scroll-to-selection jumping to top on iOS
2018-01-09 13:07:40 -08:00
Justin Weiss
a6b069603f
Move selection to the offset of remove_text if it's in its bounds
...
If selection is inside a block of text that's removed, the part of the
selection that's inside the bounds should clamp to the offset of the
removed text. So if your cursor is at offset 5, and you're deleting
from 2-10, your cursor should end up at offset 2.
2018-01-09 11:13:44 -08:00
Spencer Baynton
2d7c470c94
Changed metaKey to crtlKey ( #1508 )
...
Fixes documentation suggested in issue #690 .
2018-01-08 13:38:46 -08:00
Ryan Grove
df5b4a5d61
Fix iOS autocorrect issues with Backspace and Return ( #1475 )
...
* Fix iOS autocorrect issues with Backspace and Return
Handling Backspace and Return keystrokes in `onNativeBeforeInput`
ensures that iOS recognizes word and paragraph breaks and generates
appropriate autocorrect suggestions.
Fixes #1471
* Cleaner `onKeyDown` iOS check courtesy of @davidlibland
2018-01-08 13:34:59 -08:00
Ryan Yurkanin
7b8760fe60
Adding normalize false to the moveNodeByKey call in deleteAtRange ( #1506 )
2018-01-05 16:06:18 -08:00
Ian Storm Taylor
fc121b5821
Publish
...
- slate-base64-serializer@0.2.19
- slate-html-serializer@0.5.0
- slate-hyperscript@0.5.0
- slate-plain-serializer@0.5.0
- slate-prop-types@0.4.17
- slate-react@0.11.0
- slate-simulator@0.4.17
- slate@0.32.0
slate@0.32.0
slate-simulator@0.4.17
slate-react@0.11.0
slate-prop-types@0.4.17
slate-plain-serializer@0.5.0
slate-hyperscript@0.5.0
slate-html-serializer@0.5.0
slate-base64-serializer@0.2.19
2018-01-04 15:39:37 -08:00
Ian Storm Taylor
68bf8a00bf
fix syncing-operations example
2018-01-04 15:38:16 -08:00
Ian Storm Taylor
1b73d5531c
update changelogs
2018-01-04 15:32:04 -08:00
Ian Storm Taylor
85f4a7618c
Merge branch 'master' of github.com:ianstormtaylor/slate
2018-01-04 15:27:06 -08:00
Ian Storm Taylor
5444a300b8
rename kind
to object
for clarity ( #1501 )
...
* rename `kind` to `object` for clarity
* add deprecation warning for direct access
* add deprecation warning for node creation
2018-01-04 15:26:53 -08:00
Ian Storm Taylor
e01a2e2dfb
switch html-serializer tests to use jsdom
2018-01-04 15:20:02 -08:00
Yoel
a6c56a2c56
slate-html-serializer: consistent element.value lookups ( #1503 )
...
* consistent element.value lookups
* fix JSDOC / lint
* remove getValue util in favor of element.nodeValue lookup
2018-01-04 15:08:25 -08:00