Skip to content
Merged
Show file tree
Hide file tree
Changes from 56 commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
fc24ee6
Allow the dev server to work for non localhost host
thesunny Dec 29, 2018
3f24d36
Refactored set-selection-from-dom into utils as prep for Android support
thesunny Dec 29, 2018
cb1496c
Show debug onInput at start if triggered
thesunny Dec 29, 2018
441ff83
Added and refactored to use set-text-from-dom-node with improved set …
thesunny Jan 3, 2019
5afdf83
Merge branch 'master' into refactor-to-utils
thesunny Jan 3, 2019
8bc42d6
Remove unnecessary console.log in set-text-from-dom-node
thesunny Jan 3, 2019
c0fceff
Fixes to pass linter
thesunny Jan 3, 2019
fed4b7f
Adds basic composition to Android API27 including fixing one bug wher…
thesunny Jan 3, 2019
9a90a4e
Fix some of the enter handling in API 27 and 28
thesunny Jan 4, 2019
d6aec3e
Add fixes for API 25
thesunny Jan 5, 2019
89963b4
Add debug for slate:update instead of separate render and updateSelec…
thesunny Jan 5, 2019
f8391d6
Add API 26 fix for ignoring all but Enter in onKeyDown
thesunny Jan 5, 2019
fe1607b
Fix enter on Android 26 and 27
thesunny Jan 11, 2019
d850cbf
Revert onSelect bug. Editor API 26 and 27 stable-ish
thesunny Jan 11, 2019
7aa1592
Fix enter at beginning and end of word in API 26 and 27
thesunny Jan 11, 2019
29231dc
Fix enter handling at end of line API 26 and 27
thesunny Jan 11, 2019
b79e274
Fix reversion of enter bug when not at end of line
thesunny Jan 11, 2019
14ebbba
Rename enter to linefeed which is more accurate
thesunny Jan 11, 2019
64eb53c
Fix backspace on Android 27 and 28
thesunny Jan 11, 2019
8cb8c6a
Fix enter at end of line then backspace then enter bug in API 26 and 27
thesunny Jan 11, 2019
c40c10a
Refactor to simplify reading code
thesunny Jan 12, 2019
bcecb06
Refactor to use executor and fix the suggestion problem
thesunny Jan 12, 2019
cabfe73
Fix multi point edit in API 27/28
thesunny Jan 12, 2019
f6f38cb
Update Android documentation on enter handling
thesunny Jan 12, 2019
2bd3e0f
Fix enter in API 26/27 and document 4 different enter cases
thesunny Jan 14, 2019
187f343
Merge examples navigation improvement
thesunny Jan 14, 2019
ea90fa1
Refactor partial into SlateSnapshot
thesunny Jan 15, 2019
29a7061
Complete SlateSnapshot refactor
thesunny Jan 15, 2019
cc1ad75
Remove unnecessary plugin comments
thesunny Jan 15, 2019
7f6b7cf
Add smoke tests
thesunny Jan 15, 2019
7a99456
Add mobile smoke tests to examples
thesunny Jan 16, 2019
579b419
Rename smoke tests to composition in exmaples
thesunny Jan 17, 2019
c03d1b4
Fix API28 split join and insertion
thesunny Jan 17, 2019
2082cfb
Fix space then backspace in middle of word bug in API 28
thesunny Jan 17, 2019
24b0613
Add text for middle word space and backspace bug
thesunny Jan 17, 2019
872b9ec
Add note that the space backspace bug does not exist on API 27
thesunny Jan 17, 2019
dcba443
Fix 'It me. No.' bug in API 26/27
thesunny Jan 18, 2019
0d1a569
Fix comments
thesunny Jan 18, 2019
4eb22f8
Update comments to fit Slate style guide
thesunny Jan 18, 2019
1596ecc
Move a debug statement
thesunny Jan 18, 2019
8f81ada
Fix zero-width selection placement bug.
thesunny Jan 18, 2019
3aa1a17
Fix 'it is' then enter in middle of 'it' bug
thesunny Jan 18, 2019
e38d57e
Partial fix of enter, backspace, enter in word
thesunny Jan 18, 2019
737e12f
Add and fix comments. Fix selection in zero-width for API26-27
thesunny Jan 21, 2019
f925c48
Fix linting
thesunny Jan 21, 2019
5453773
Fix documentation
thesunny Jan 22, 2019
7748676
Remove snapback from packages
thesunny Jan 22, 2019
822989f
Remove snapback from yarn.lock
thesunny Jan 22, 2019
bc4879b
Rename SlateSnapshot to DomSnapshot
thesunny Jan 29, 2019
a6c4728
Remove guard on DomSnapshot apply method
thesunny Jan 29, 2019
9a9f3fe
Remove debug plugin from plugins/dom
thesunny Jan 29, 2019
d5767e5
Remove unnecessary comment in content.js componentDidUpdate
thesunny Jan 29, 2019
4dbe0fa
Remove closest and add function into dom-snapshot directly
thesunny Jan 29, 2019
546cb3e
Remove unused DebugPlugin
thesunny Jan 30, 2019
1f2d8ac
Move Android detection related code into slate-dev-environment
thesunny Jan 30, 2019
1477681
Capitalize to Number in JSDoc
thesunny Jan 30, 2019
93aba34
Add API version and Input Events Level 2 for Android
thesunny Feb 27, 2019
e435209
Add input events level 2 for android without matching api version
thesunny Mar 5, 2019
b02731d
Merge remote-tracking branch 'upstream/master' into android-env
thesunny Mar 7, 2019
b310636
Merge master
thesunny Mar 8, 2019
9230712
Fix line failures
thesunny Mar 8, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions examples/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import RTL from './rtl'
import ReadOnly from './read-only'
import RichText from './rich-text'
import SearchHighlighting from './search-highlighting'
import Composition from './composition'
import InputTester from './input-tester'
import SyncingOperations from './syncing-operations'
import Tables from './tables'
Expand All @@ -43,6 +44,7 @@ import Mentions from './mentions'
const EXAMPLES = [
['Check Lists', CheckLists, '/check-lists'],
['Code Highlighting', CodeHighlighting, '/code-highlighting'],
['Composition', Composition, '/composition/:subpage?'],
['Embeds', Embeds, '/embeds'],
['Emojis', Emojis, '/emojis'],
['Forced Layout', ForcedLayout, '/forced-layout'],
Expand Down Expand Up @@ -262,11 +264,13 @@ export default class App extends React.Component {
<Switch>
{EXAMPLES.map(([name, Component, path]) => (
<Route key={path} path={path}>
<div>
<ExampleContent>
<Component />
</ExampleContent>
</div>
{({ match }) => (
<div>
<ExampleContent>
<Component params={match.params} />
</ExampleContent>
</div>
)}
</Route>
))}
<Redirect from="/" to="/rich-text" />
Expand All @@ -290,7 +294,7 @@ export default class App extends React.Component {
</TabButton>
<Switch>
{EXAMPLES.map(([name, Component, path]) => (
<Route key={path} exact path={path}>
<Route key={path} path={path}>
<ExampleTitle>{name}</ExampleTitle>
</Route>
))}
Expand Down
Loading