@@ -398,7 +398,7 @@ export class EditorFrame extends React.Component {
398
398
} ) ;
399
399
e . preventDefault ( ) ;
400
400
} }
401
- > { CONFIG . title } </ a >
401
+ > < span className = "hamburger" > </ span > { CONFIG . title } </ a >
402
402
< NativeButtons
403
403
editor = { this }
404
404
buttons = { this . state . buttons }
@@ -417,16 +417,17 @@ export class EditorFrame extends React.Component {
417
417
< div id = "edit-sidebar" className = { this . state . sidebarExpanded ? 'expanded' : '' } >
418
418
< div id = "edit-sidebar-inner" >
419
419
< div id = "edit-sidebar-inner-inner" >
420
- < div id = "recently-viewed" >
421
- < p > < span id = "edit-sidebar-new" > < button onClick = { _ => {
422
- window . location . href = '/?from=' ; // TODO this is a hack
423
- } } > New</ button > </ span > Recently Viewed</ p >
424
- < div id = "recently-viewed-list" > {
425
- recentlyViewed ( ) . map ( ( doc ) => (
426
- < div > < a href = { doc . path } title = { '/' + doc . path } > { doc . path } </ a > </ div >
427
- ) )
428
- } </ div >
429
- < div id = "edit-sidebar-inner-inner" > </ div >
420
+ < div id = "edit-sidebar-scrollable" >
421
+ < div id = "recently-viewed" >
422
+ < p > < span id = "edit-sidebar-new" > < button onClick = { _ => {
423
+ window . location . href = '/?from=%23 New page' ; // TODO this is a hack
424
+ } } > New</ button > </ span > Recently Viewed</ p >
425
+ < div id = "recently-viewed-list" > {
426
+ recentlyViewed ( ) . map ( ( doc ) => (
427
+ < div key = { doc . path } > < a href = { doc . path } title = { '/' + doc . path } > { doc . path } </ a > </ div >
428
+ ) )
429
+ } </ div >
430
+ </ div >
430
431
</ div >
431
432
< div id = "edit-sidebar-footer" >
432
433
Read more at < a href = "http://docs.edit.io" > docs.edit.io</ a > .< br /> Or contribute to < a href = "http://github.com/tcr/edit-text" > edit-text on Github</ a > .
@@ -750,7 +751,7 @@ class EditText extends React.Component {
750
751
. connect ( )
751
752
. then ( ( ) => {
752
753
console . log ( 'Loading static editor.' ) ;
753
- this . props . client . clientBindings . command ( JSON . stringify ( {
754
+ this . props . client . clientBindings ! . command ( JSON . stringify ( {
754
755
ClientCommand : {
755
756
Init : [ "$local" , convertMarkdownToDoc ( this . props . markdown ) , 100 ] ,
756
757
}
0 commit comments