Skip to content

Commit c9d4604

Browse files
committed
Enable focus navigation messages for the web build
1 parent 00f8c2d commit c9d4604

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/index.web.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,12 @@ class EditorInstance {
109109
viewMode="web"
110110
showUpdateNotice={this._editorCore.unsupportedSchema}
111111
editorCore={this._editorCore}
112+
onFocusBack={() => {
113+
this._postMessage({ action: 'focusBack' });
114+
}}
115+
onFocusForward={() => {
116+
this._postMessage({ action: 'focusForward' });
117+
}}
112118
onClickReturn={() => {
113119
}}
114120
onShowNote={() => {

0 commit comments

Comments
 (0)