mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 05:30:15 +08:00
[SSE] Fix editor loading
This commit is contained in:
@ -115,10 +115,7 @@ define([
|
||||
},
|
||||
|
||||
onLaunch: function() {
|
||||
this.editor = this.createView('CellEditor',{
|
||||
el: '#cell-editing-box'
|
||||
}).render();
|
||||
|
||||
this.editor = this.getView('CellEditor');
|
||||
this.bindViewEvents(this.editor, this.events);
|
||||
|
||||
this.editor.$el.parent().find('.after').css({zIndex: '4'}); // for spreadsheets - bug 23127
|
||||
|
||||
@ -322,6 +322,7 @@ define([
|
||||
onLaunch: function() {
|
||||
// Create and render main view
|
||||
this.viewport = this.createView('Viewport').render();
|
||||
this.getApplication().getController('CellEditor').createView('CellEditor',{ el: '#cell-editing-box' }).render();
|
||||
|
||||
this.api = new Asc.spreadsheet_api({
|
||||
'id-view' : 'editor_sdk',
|
||||
|
||||
Reference in New Issue
Block a user