Skip to content

Commit

Permalink
fix: enable line wrapping in codemirror plugin
Browse files Browse the repository at this point in the history
This solves the issue described in
[LPS-120594](https://issues.liferay.com/browse/LPS-120549), where
occasionally the editor's source mode now handled by the "codemirror"
plugin grows depending on the text that is in the editor.
  • Loading branch information
Julien Castelain committed Sep 21, 2020
1 parent ec20c6e commit 1783acf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/codemirror/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
textarea.$,
{
lineNumbers: true,
lineWrapping: true,
mode: 'text/html',
}
);
Expand Down

0 comments on commit 1783acf

Please sign in to comment.