mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-04 17:23:45 -05:00
Add code cell (#2909)
* initial work for addig code and code cell type * add cell model and create editor for each cell * formatting * fix resizing issue * small changes * address comment
This commit is contained in:
14
src/sql/parts/notebook/cellViews/codeCell.component.html
Normal file
14
src/sql/parts/notebook/cellViews/codeCell.component.html
Normal file
@@ -0,0 +1,14 @@
|
||||
<!--
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
-->
|
||||
<div style="overflow: hidden; width: 100%; height: 100%; display: flex; flex-flow: column">
|
||||
<div class="notebook-code" style="flex: 0 0 auto;">
|
||||
<code-component [id]="cellModel.id" [content]="cellModel.source" [language]="cellModel.language"></code-component>
|
||||
</div>
|
||||
<div class="notebook-output" style="flex: 0 0 auto;">
|
||||
Place Holder for output area
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user