This is an automated email from the ASF dual-hosted git repository.

chanholee pushed a commit to branch branch-0.12
in repository https://gitbox.apache.org/repos/asf/zeppelin.git


The following commit(s) were added to refs/heads/branch-0.12 by this push:
     new 4f0ca33426 [ZEPPELIN-6310] When paragraph to edit, word wrap doesn't 
work
4f0ca33426 is described below

commit 4f0ca3342639b73a5da1e111bdc60f4d42887249
Author: YONGJAE LEE(이용재) <[email protected]>
AuthorDate: Tue Sep 2 22:44:40 2025 +0900

    [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]>
    (cherry picked from commit 96e2c65018a1f8f7b035e09cf646d8448891c2a1)
    Signed-off-by: ChanHo Lee <[email protected]>
---
 .../workspace/notebook/paragraph/code-editor/code-editor.component.ts    | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/zeppelin-web-angular/src/app/pages/workspace/notebook/paragraph/code-editor/code-editor.component.ts
 
b/zeppelin-web-angular/src/app/pages/workspace/notebook/paragraph/code-editor/code-editor.component.ts
index 415051d409..b19e91d1df 100644
--- 
a/zeppelin-web-angular/src/app/pages/workspace/notebook/paragraph/code-editor/code-editor.component.ts
+++ 
b/zeppelin-web-angular/src/app/pages/workspace/notebook/paragraph/code-editor/code-editor.component.ts
@@ -157,6 +157,7 @@ export class NotebookParagraphCodeEditorComponent 
implements OnChanges, OnDestro
       scrollBeyondLastLine: false,
       contextmenu: false,
       matchBrackets: 'always',
+      wordWrap: 'on',
       scrollbar: {
         handleMouseWheel: false,
         alwaysConsumeMouseWheel: false

Reply via email to