Skip to content

Commit 96e2c65

Browse files
authored
[ZEPPELIN-6310] When paragraph to edit, word wrap doesn't work
### What is this PR for? **Description:** You can check that in the Classic UI, word wrap is applied when editing an paragraph, but in the New UI it is not, which makes editing difficult. From a user’s perspective, the lack of word wrap can make editing both inconvenient and confusing, so this issue should be addressed. Also, in the case of .md files, word wrap is applied when the file is executed, but it is not applied when editing, which seems to cause an inconsistency. **[Appropriate action - Classic UI]** https://github.com/user-attachments/assets/064d883d-0b3e-44cb-9448-bc00848bae78 **[AS-IS]** https://github.com/user-attachments/assets/3084b82a-a8fd-492f-8ef0-3fa421f92e99 **[TO-BE]** https://github.com/user-attachments/assets/8b8db68b-9373-41d1-b091-57599b34a4f2 ### What type of PR is it? Bug Fix ### Todos ### What is the Jira issue? * [[ZEPPELIN-6310](https://issues.apache.org/jira/browse/ZEPPELIN-6310)] ### How should this be tested? * Strongly recommended: add automated unit tests for any new or changed behavior * Outline any manual steps to test the PR here. ### Screenshots (if appropriate) ### Questions: * Does the license files need to update? N * Is there breaking changes for older versions? N * Does this needs documentation? N Closes #5058 from dididy/fix/ZEPPELIN-6310. Signed-off-by: ChanHo Lee <[email protected]>
1 parent 093648f commit 96e2c65

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

zeppelin-web-angular/src/app/pages/workspace/notebook/paragraph/code-editor/code-editor.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ export class NotebookParagraphCodeEditorComponent implements OnChanges, OnDestro
157157
scrollBeyondLastLine: false,
158158
contextmenu: false,
159159
matchBrackets: 'always',
160+
wordWrap: 'on',
160161
scrollbar: {
161162
handleMouseWheel: false,
162163
alwaysConsumeMouseWheel: false

0 commit comments

Comments
 (0)