File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -199,10 +199,11 @@ define([
199199 this . focusItem ( ) ;
200200 }
201201
202+ // Deprecated: show markdown as other DA blocks
202203 // 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+ // }
206207
207208 // if viewDepthNumber, show it
208209 let viewDepthNumber = this . prop . parent . state . viewDepthNumber ;
@@ -304,9 +305,10 @@ define([
304305 if ( this . _getMenuGroupRootType ( ) == 'logic' ) {
305306 header = this . task . generateCode ( ) ;
306307 }
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+ // }
310312 this . state . header = header ;
311313 return header ;
312314 }
You can’t perform that action at this time.
0 commit comments