File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -95,6 +95,9 @@ class EditorInstance {
9595 } }
9696 onShowNote = { ( ) => {
9797 this . _postMessage ( { action : 'showNote' } ) ;
98+ } }
99+ onOpenTab = { ( ) => {
100+
98101 } }
99102 onOpenWindow = { ( ) => {
100103
Original file line number Diff line number Diff line change @@ -224,6 +224,9 @@ function main(html) {
224224 onShowNote = { ( ) => {
225225 console . log ( 'Show Note' ) ;
226226 } }
227+ onOpenTab = { ( ) => {
228+ console . log ( 'Open Tab' ) ;
229+ } }
227230 onOpenWindow = { ( ) => {
228231 console . log ( 'Open Window' ) ;
229232 } }
Original file line number Diff line number Diff line change @@ -95,6 +95,9 @@ class EditorInstance {
9595 } }
9696 onShowNote = { ( ) => {
9797 this . _postMessage ( { action : 'showNote' } ) ;
98+ } }
99+ onOpenTab = { ( ) => {
100+
98101 } }
99102 onOpenWindow = { ( ) => {
100103
Original file line number Diff line number Diff line change @@ -119,6 +119,9 @@ class EditorInstance {
119119 } }
120120 onShowNote = { ( ) => {
121121 this . _postMessage ( { action : 'showNote' } ) ;
122+ } }
123+ onOpenTab = { ( ) => {
124+
122125 } }
123126 onOpenWindow = { ( ) => {
124127
You can’t perform that action at this time.
0 commit comments