This repository was archived by the owner on Jul 12, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -165,13 +165,13 @@ export default class MicroPanelEditorEntry extends LitElement {
165165 }
166166 if ( 'html' in propval ) {
167167 return html `
168- < code-flask language ="markup " value =${ propval . html } on-value-changed =${ e =>
168+ < code-flask word-wrap language ="markup " value =${ propval . html } on-value-changed =${ e =>
169169 this . _modify ( entry , draft => draft . properties [ propname ] [ idx ] . html = e . target . value )
170170 } > </ code-flask >
171171 `
172172 } else if ( 'markdown' in propval ) {
173173 return html `
174- < code-flask language ="markdown " value =${ propval . markdown } on-value-changed =${ e =>
174+ < code-flask word-wrap language ="markdown " value =${ propval . markdown } on-value-changed =${ e =>
175175 this . _modify ( entry , draft => draft . properties [ propname ] [ idx ] . markdown = e . target . value )
176176 } > </ code-flask >
177177 `
@@ -182,7 +182,7 @@ export default class MicroPanelEditorEntry extends LitElement {
182182
183183 _jsonEditor ( entry , propname , jsonParseError ) {
184184 return html `
185- < code-flask language ="json " value =${ JSON . stringify ( entry . properties [ propname ] , null , 2 ) } on-value-changed =${ e =>
185+ < code-flask word-wrap language ="json " value =${ JSON . stringify ( entry . properties [ propname ] , null , 2 ) } on-value-changed =${ e =>
186186 this . _modify ( entry , draft => {
187187 try {
188188 draft . properties [ propname ] = JSON . parse ( e . target . value )
You can’t perform that action at this time.
0 commit comments