fix(editor): Wrap expressions in resource locator component (#8673)

This commit is contained in:
Elias Meire
2024-02-20 17:22:44 +01:00
committed by GitHub
parent 05e13a68ea
commit e2f2fc910d
2 changed files with 25 additions and 3 deletions

View File

@@ -44,6 +44,9 @@ export const inputTheme = ({ rows } = { rows: 5 }) => {
'.cm-scroller': {
lineHeight: '1.68',
},
'.cm-lineWrapping': {
wordBreak: 'break-all',
},
});
return [theme, highlighter.resolvableStyle];