@@ -154,7 +154,6 @@ export const withCodeEditor = makeDecorator({
154154 }
155155 }
156156
157- < << << << HEAD
158157 }
159158
160159 const loadEditorContent = ( ) => {
@@ -167,10 +166,6 @@ export const withCodeEditor = makeDecorator({
167166
168167 storyElement . addEventListener ( 'load' , ( ) => {
169168 let doc = storyElement . contentDocument ;
170- = === ===
171- editor . addEventListener ( 'fileUpdated' , ( ) => {
172- const storyElement = document . createElement ( 'iframe' ) ;
173- > >>> >>> release / latest
174169
175170 let { html, css, js } = editor . files ;
176171 js = js . replace (
@@ -207,7 +202,6 @@ export const withCodeEditor = makeDecorator({
207202 doc . close ( ) ;
208203 } ) ;
209204
210- < << << << HEAD
211205 storyElement . className = 'story-mgt-preview' ;
212206 storyElementWrapper . innerHTML = '' ;
213207 storyElementWrapper . appendChild ( storyElement ) ;
@@ -216,13 +210,6 @@ export const withCodeEditor = makeDecorator({
216210 editor . addEventListener ( 'fileUpdated' , loadEditorContent ) ;
217211
218212 const separator = document . createElement ( 'div' ) ;
219- = === ===
220- storyElement . className = 'story-mgt-preview' ;
221- storyElement . title = 'story-mgt-preview' ;
222- storyElementWrapper . innerHTML = '' ;
223- storyElementWrapper . appendChild ( storyElement ) ;
224- } ) ;
225- > >>> >>> release / latest
226213
227214 setupEditorResize ( storyElementWrapper , separator , editor , ( ) => editor . layout ( ) ) ;
228215
0 commit comments