File tree Expand file tree Collapse file tree
blocks/canvas/ew-editor-wysiwyg Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,7 +46,6 @@ export class EwEditorWysiwyg extends LitElement {
4646 static properties = {
4747 ctx : { type : Object } ,
4848 _cookieReady : { state : true } ,
49- _loading : { state : true } ,
5049 } ;
5150
5251 connectedCallback ( ) {
@@ -98,10 +97,8 @@ export class EwEditorWysiwyg extends LitElement {
9897
9998 _syncCanvasVisibility ( ) {
10099 const view = this . _canvasActiveView ?? 'layout' ;
101- const portReady = this . hasAttribute ( WYSIWYG_PORT_READY_ATTR ) ;
102100 const showWysiwyg = view === 'layout' || view === 'split' ;
103101 this . hidden = ! showWysiwyg ;
104- this . _loading = showWysiwyg && ! portReady ;
105102 hideSelectionToolbar ( ) ;
106103 }
107104
@@ -223,7 +220,7 @@ export class EwEditorWysiwyg extends LitElement {
223220 ` ;
224221 }
225222 return html `
226- < div class ="ew-editor-wysiwyg-surface " ?hidden = ${ this . _loading } >
223+ < div class ="ew-editor-wysiwyg-surface ">
227224 ${ body }
228225 </ div >
229226 ` ;
You can’t perform that action at this time.
0 commit comments