Nandu
7a6de8725c
Add break in the Switch statement for Custom Formatting Walkthrough ( #2550 )
...
The Custom Formatting Walkthrough does not work as expected. When
Ctrl + B is pressed it applies both Bold and Code styles to the
content. This is because of the case statement running beyond
the Bold case due to the absence of a break keyword.
2019-01-21 18:27:43 -08:00
Tom Moor
43ee38e39d
Update commands.md ( #2551 )
...
Fixed incorrect documentation for `moveToRangeOfNode`
2019-01-21 18:25:09 -08:00
Eric Edem
68e5ff95d9
feat(Examples): improve example navigation ( #2450 )
...
* feat(Examples) make tab menu responsive
For small screens, don't show tabs by default. Instead, show a hamburger menu. When clicking the hamburger menu, expand the examples list.
2019-01-11 10:32:06 -08:00
Jinxuan Zhu
44e47d7ffe
Refactor duplicate code in mixin ( #2529 )
...
* Refactor duplicate code in mixin
* Remove debugger
2019-01-09 19:48:17 -08:00
Akumatus
09db2c93b6
fix unwrapBlockAtRange disorder ( #2512 )
2019-01-07 10:05:03 -08:00
Sunny Hirai
92c1ffbcd3
Refactor to utils ( #2522 )
...
* Refactored set-selection-from-dom into utils as prep for Android support
* Added and refactored to use set-text-from-dom-node with improved set selection after input
2019-01-04 12:02:33 -08:00
Mark Allen
c6a48a1b9e
Fix minor typos in example comments ( #2507 )
...
No code changes.
2019-01-03 19:25:11 -08:00
Sunny Hirai
48f1bfcb6c
Allow the dev server to work for non localhost host ( #2516 )
...
This change is useful in order to access the live updating dev server from a mobile device that is not on localhost. A precursor to getting Android working.
2019-01-03 12:57:33 -08:00
Sunny Hirai
6f41f2e8e9
Fix link to instructions for running examples
2018-12-28 16:19:38 -08:00
Ian Storm Taylor
d9cc247d45
Publish
...
- slate-base64-serializer@0.2.94
- slate-html-serializer@0.7.33
- slate-hyperscript@0.11.24
- slate-plain-serializer@0.6.33
- slate-prop-types@0.5.24
- slate-react-placeholder@0.1.12
- slate-react@0.21.15
- slate@0.44.9
slate@0.44.9
slate-react@0.21.15
slate-react-placeholder@0.1.12
slate-prop-types@0.5.24
slate-plain-serializer@0.6.33
slate-hyperscript@0.11.24
slate-html-serializer@0.7.33
slate-base64-serializer@0.2.94
2018-12-11 13:23:21 -08:00
David Gertmenian-Wong
2ad73d73e5
Update Placeholder to be compatible with older versions of React ( #2491 )
...
* Make `placeholder` element compatible with older versions of React
`React.Fragment` is only available in react >= 16.2, which does not
meet the dependency requirements specified by the package (react >=
0.14.0). Updates from `React.Fragment` -> `span` to provide coverage
for older versions of react.
* Update `slate-react` placeholder test case
2018-12-11 12:54:26 -08:00
Jinxuan Zhu
c2a3609a09
Use weakmap to prevent memory leak and remove indirect __cache__key ( #2471 )
...
* Use global weakmap
* Remove redudant ?:
* Use local Weakmap for objects
* Code refactor
* Annotation refactor
* Annotation refactor
* Annotation refactor
* Fix annotation
2018-12-11 12:04:18 -08:00
Akumatus
fb60d4dfb7
fix(schema): previous node and child node may be exactly the same ( #2493 )
2018-12-11 11:32:06 -08:00
Dundercover
76a88a649a
Add editor.HasCommand
and editor.HasQuery
( #2438 )
...
* Add `editor.hasCommand` method
* Add `editor.hasQuery` method
* Rename directories `hasCommand` and `hasQuery` to kebab case
* Add tests for `editor.hasCommand` of React component
* Add tests for `editor.hasQuery` of React component
2018-12-11 11:25:53 -08:00
Ralph Feltis
5cca509db2
Fix typo in resources.md ( #2484 )
...
* Adding Guilded to Products list
* Fixing typo
2018-12-05 12:22:37 -08:00
phy
9646f7a5cc
fix(docs): correct package's address ( #2485 )
2018-12-05 12:21:43 -08:00
Gijs Nelissen
ab91240af7
Add prezly.com to resources.md ( #2483 )
2018-12-04 20:57:10 -08:00
Ralph Feltis
bc252de9e1
Adding Guilded to Products list ( #2482 )
2018-12-04 20:53:19 -08:00
Ian Storm Taylor
37fcaf348c
Publish
...
- slate-base64-serializer@0.2.93
- slate-dev-environment@0.2.1
- slate-hotkeys@0.2.8
- slate-html-serializer@0.7.32
- slate-hyperscript@0.11.23
- slate-plain-serializer@0.6.32
- slate-prop-types@0.5.23
- slate-react-placeholder@0.1.11
- slate-react@0.21.14
- slate@0.44.8
slate@0.44.8
slate-react@0.21.14
slate-react-placeholder@0.1.11
slate-prop-types@0.5.23
slate-plain-serializer@0.6.32
slate-hyperscript@0.11.23
slate-html-serializer@0.7.32
slate-hotkeys@0.2.8
slate-dev-environment@0.2.1
slate-base64-serializer@0.2.93
2018-12-04 11:14:33 -08:00
Espen Hovlandsdal
73b4cb423e
fix InputEvent global check ( #2469 )
2018-12-04 11:12:13 -08:00
CameronAckermanSEL
5395931680
undo and redo operations are now wrapped with withoutNormalizing call to prevent normalizing occuring in between application or reversal of batched operations ( #2462 )
2018-12-04 11:11:22 -08:00
ldavidpace
287875b9e3
Checking to make sure there is only text in the node before removing the whole node on deleteBackward ( #2476 )
...
* Checking to make sure there is only text in the node before removing the whole node.
* Make it Prettier
2018-12-04 11:08:45 -08:00
Shawn Erquhart
ce8bfa56a6
add Netlify CMS to products list ( #2478 )
2018-12-04 11:07:28 -08:00
Ian Storm Taylor
e909475ccb
Publish
...
- slate-base64-serializer@0.2.92
- slate-html-serializer@0.7.31
- slate-hyperscript@0.11.22
- slate-plain-serializer@0.6.31
- slate-prop-types@0.5.22
- slate-react-placeholder@0.1.10
- slate-react@0.21.13
- slate@0.44.7
slate@0.44.7
slate-react@0.21.13
slate-react-placeholder@0.1.10
slate-prop-types@0.5.22
slate-plain-serializer@0.6.31
slate-hyperscript@0.11.22
slate-html-serializer@0.7.31
slate-base64-serializer@0.2.92
2018-12-02 16:20:57 -08:00
Denys Vuika
59d184b153
Update saving-and-loading-html-content.md ( #2452 )
...
fix example code
2018-12-02 13:15:16 -08:00
Dundercover
ec6c0e5140
Do not use experimental array method flat
in Versions
example ( #2446 )
2018-12-02 13:14:54 -08:00
Eric Edem
b8420fce3f
docs: replace change with editor ( #2433 )
...
Just in a couple places.
2018-12-02 13:12:41 -08:00
DamareYoh
b1ff42b534
remove react dependency from slate core ( #2443 )
2018-12-02 13:12:23 -08:00
Ian Storm Taylor
4cbf57be98
refactor normalization logic to result in shorter callstacks
2018-12-02 13:09:43 -08:00
Knut Melvær
6d8df18f01
Add Sanity.io to the list of products ( #2441 )
...
Hi Ian! Took the liberty to add Sanity.io to the list 🙌
2018-11-19 14:43:43 -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
Ian Storm Taylor
a042dee348
Update Readme.md
2018-11-15 08:31:53 -08:00
Dundercover
61be5f8881
Add defaultValue
prop to Editor
component ( #2418 )
...
* Add `defaultValue` prop to `Editor` component
* Use `defaultValue` prop in the `Read Only` example
* Use `defaultValue` prop in the `Check Lists` example
* Use `defaultValue` prop in the `Code Highlighting` example
* Use `defaultValue` prop in the `Embeds` example
* Use `defaultValue` prop in the `Emojis` example
* Use `defaultValue` prop in the `Forced Layout` example
* Use `defaultValue` prop in the `Huge Document` example
* Use `defaultValue` prop in the `Images` example
* Use `defaultValue` prop in the `Input Tester` example
* Use `defaultValue` prop in the `Markdown Preview` example
* Use `defaultValue` prop in the `Markdown Shortcuts` example
* Use `defaultValue` prop in the `Paste HTML` example
* Use `defaultValue` prop in the `Plain Text` example
* Use `defaultValue` prop in the `Plugins` example
* Use `defaultValue` prop in the `RTL` example
* Use `defaultValue` prop in the `Search Highlighting` example
* Use `defaultValue` prop in the `Tables` example
2018-11-15 08:21:42 -08:00
Ankit Goel
5849dcb810
Fix broken links ( #2426 )
2018-11-15 08:08:05 -08:00
Dundercover
518c7e0a51
Fix renderBlockButton
of rich text example ( #2412 )
...
By checking if there are blocks in the selection
2018-11-15 08:06:59 -08:00
Gersom van Ginkel
0c94ccebce
Add changes made to shouldNodeComponentUpdate to changelog of slate-react ( #2417 )
...
* When the component unmounts, make sure async commands don't trigger react updates.
* Eslint fix
* Add changes made to shouldNodeComponentUpdate to changelog of slate-react
2018-11-13 10:28:10 -08:00
Ian Storm Taylor
1d0a0e6cf6
Publish
...
- slate-base64-serializer@0.2.91
- slate-html-serializer@0.7.30
- slate-hyperscript@0.11.21
- slate-plain-serializer@0.6.30
- slate-prop-types@0.5.21
- slate-react-placeholder@0.1.9
- slate-react@0.21.12
- slate@0.44.6
slate@0.44.6
slate-react@0.21.12
slate-react-placeholder@0.1.9
slate-prop-types@0.5.21
slate-plain-serializer@0.6.30
slate-hyperscript@0.11.21
slate-html-serializer@0.7.30
slate-base64-serializer@0.2.91
2018-11-12 11:29:46 -08:00
Ian Storm Taylor
45bc55a076
reduce max normalizations guard
2018-11-12 11:27:34 -08:00
Ian Storm Taylor
b78f6546cd
Publish
...
- slate-base64-serializer@0.2.90
- slate-html-serializer@0.7.29
- slate-hyperscript@0.11.20
- slate-plain-serializer@0.6.29
- slate-prop-types@0.5.20
- slate-react-placeholder@0.1.8
- slate-react@0.21.11
- slate@0.44.5
slate@0.44.5
slate-react@0.21.11
slate-react-placeholder@0.1.8
slate-prop-types@0.5.20
slate-plain-serializer@0.6.29
slate-hyperscript@0.11.20
slate-html-serializer@0.7.29
slate-base64-serializer@0.2.90
2018-11-11 14:42:07 -08:00
Ian Storm Taylor
eb7ad70dde
fix to always default operation.data to an object
2018-11-11 14:34:05 -08:00
Ian Storm Taylor
585dc85185
fix readme badge max ages
2018-11-11 12:48:50 -08:00
Malgalad
da2cf83310
Fix deleteBackwardAtRange removing extra character when called at start of both block and inline node ( #2408 )
2018-11-11 10:59:40 -08:00
Ian Storm Taylor
a75c06b501
Publish
...
- slate-base64-serializer@0.2.89
- slate-html-serializer@0.7.28
- slate-hyperscript@0.11.19
- slate-plain-serializer@0.6.28
- slate-prop-types@0.5.19
- slate-react-placeholder@0.1.7
- slate-react@0.21.10
- slate@0.44.4
slate@0.44.4
slate-react@0.21.10
slate-react-placeholder@0.1.7
slate-prop-types@0.5.19
slate-plain-serializer@0.6.28
slate-hyperscript@0.11.19
slate-html-serializer@0.7.28
slate-base64-serializer@0.2.89
2018-11-09 17:27:30 -08:00
Ian Storm Taylor
6cd1c0968e
fix lint
2018-11-09 17:25:45 -08:00
Ian Storm Taylor
b01992474c
add child
to child_max_invalid
schema errors
2018-11-09 17:24:02 -08:00
Ian Storm Taylor
f13571cb65
Publish
...
- slate-base64-serializer@0.2.88
- slate-html-serializer@0.7.27
- slate-hyperscript@0.11.18
- slate-plain-serializer@0.6.27
- slate-prop-types@0.5.18
- slate-react-placeholder@0.1.6
- slate-react@0.21.9
- slate@0.44.3
slate@0.44.3
slate-react@0.21.9
slate-react-placeholder@0.1.6
slate-prop-types@0.5.18
slate-plain-serializer@0.6.27
slate-hyperscript@0.11.18
slate-html-serializer@0.7.27
slate-base64-serializer@0.2.88
2018-11-09 16:41:50 -08:00
Ian Storm Taylor
7a31faa3f6
remove code coverage reporting
2018-11-09 16:39:56 -08:00
Ian Storm Taylor
b33605ec06
fix schema normalization bug for child_max_invalid
2018-11-09 16:39:33 -08:00
Ian Storm Taylor
03d531ba77
fix path transformation bug when moving exactly
2018-11-09 16:39:11 -08:00