From 8eb28555bc0928c4d4f00740243d1c183cc3fe41 Mon Sep 17 00:00:00 2001 From: Kazuhito Yokoi Date: Tue, 17 Sep 2019 20:26:59 +0900 Subject: [PATCH] Enable wrap mode in Markdown editor --- .../node_modules/@node-red/editor-client/src/js/ui/editor.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/editor.js b/packages/node_modules/@node-red/editor-client/src/js/ui/editor.js index 2fcbacf0e..ec75f5ee4 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/editor.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/editor.js @@ -2503,6 +2503,7 @@ RED.editor = (function() { content: RED._("markdownEditor.format"), autoClose: 50 }); + session.setUseWrapMode(true); } return editor; }