voidmatcha opened a new pull request, #5267: URL: https://github.com/apache/zeppelin/pull/5267
### What is this PR for? After cloning or inserting a paragraph in the New UI, the cursor stays on the wrapper element instead of the editor, so you have to click before typing. This focuses the new paragraph's editor one tick after `PARAGRAPH_ADDED`, gated to clone/insert initiated by this client so auto-append on run and other clients' inserts don't steal focus. It also skips dirty-marking on programmatic editor `setValue` (`isFlush`) so the cloned content isn't discarded. (The clone *content* loss itself is handled separately in https://github.com/apache/zeppelin/pull/5254#pullrequestreview-4415596876; this covers the *cursor* part.) ### What type of PR is it? Bug Fix ### Todos ### What is the Jira issue? ZEPPELIN-6429 ### How should this be tested? ### Screenshots (if appropriate) https://github.com/user-attachments/assets/2dca9137-3eb3-49c3-bff8-da3429613025 ### Questions: * Does the license files need to update? No * Is there breaking changes for older versions? No * Does this needs documentation? No -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
