Przeglądaj źródła

Internal: Fixed code style.

Marek Lewandowski 6 lat temu
rodzic
commit
a23d7a63f9

+ 8 - 8
packages/ckeditor5-build-decoupled-document/sample/index.html

@@ -58,15 +58,15 @@
 		<p>You can use this sample to validate whether your <a href="https://ckeditor.com/docs/ckeditor5/latest/builds/guides/development/custom-builds.html">custom build</a> works fine.</p>`;
 
 	DecoupledEditor.create( editorData )
-	.then( editor => {
-		window.editor = editor;
+		.then( editor => {
+			window.editor = editor;
 
-		document.querySelector( '.toolbar-container' ).appendChild( editor.ui.view.toolbar.element );
-		document.querySelector( '.editable-container' ).appendChild( editor.ui.view.editable.element );
-	} )
-	.catch( error => {
-		console.error( 'There was a problem with initializing the editor', error );
-	} );
+			document.querySelector( '.toolbar-container' ).appendChild( editor.ui.view.toolbar.element );
+			document.querySelector( '.editable-container' ).appendChild( editor.ui.view.editable.element );
+		} )
+		.catch( error => {
+			console.error( 'There was a problem with initializing the editor', error );
+		} );
 </script>
 
 </body>