File tree 1 file changed +8
-6
lines changed
1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -199,10 +199,11 @@ define([
199
199
this . focusItem ( ) ;
200
200
}
201
201
202
+ // Deprecated: show markdown as other DA blocks
202
203
// if markdown, set its height to fit-content
203
- if ( this . id == 'apps_markdown' ) {
204
- $ ( this . wrapSelector ( ) ) . addClass ( 'vp-block-markdown' ) ;
205
- }
204
+ // if (this.id == 'apps_markdown') {
205
+ // $(this.wrapSelector()).addClass('vp-block-markdown');
206
+ // }
206
207
207
208
// if viewDepthNumber, show it
208
209
let viewDepthNumber = this . prop . parent . state . viewDepthNumber ;
@@ -304,9 +305,10 @@ define([
304
305
if ( this . _getMenuGroupRootType ( ) == 'logic' ) {
305
306
header = this . task . generateCode ( ) ;
306
307
}
307
- if ( this . id == 'apps_markdown' ) {
308
- header = this . task . getPreview ( ) ;
309
- }
308
+ // Deprecated: show markdown as other blocks
309
+ // if (this.id == 'apps_markdown') {
310
+ // header = this.task.getPreview();
311
+ // }
310
312
this . state . header = header ;
311
313
return header ;
312
314
}
You can’t perform that action at this time.
0 commit comments