diff --git a/textarea/textarea.view.tree b/textarea/textarea.view.tree index 7c50e358b77..cb602544b0a 100644 --- a/textarea/textarea.view.tree +++ b/textarea/textarea.view.tree @@ -23,6 +23,7 @@ $mol_textarea $mol_stack row_numb* <= row_numb* 0 sidebar_showed <= sidebar_showed highlight <= highlight \ + syntax <= syntax $mol_syntax2 symbols_alt *string comma \< period \> diff --git a/textarea/textarea.view.ts b/textarea/textarea.view.ts index a8e3f349b2d..e955610a2c4 100644 --- a/textarea/textarea.view.ts +++ b/textarea/textarea.view.ts @@ -107,6 +107,9 @@ namespace $.$$ { return index } + syntax() { + return this.$.$mol_syntax2_md_code + } } }