jenkins-bot has submitted this change and it was merged.

Change subject: ui.CommentInspector: Select placeholder comment node while 
editing
......................................................................


ui.CommentInspector: Select placeholder comment node while editing

Bug: T150557
Change-Id: I5b7660f49702fafea679772e34686f4e69888e33
---
M src/ui/inspectors/ve.ui.CommentInspector.js
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Esanders: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/src/ui/inspectors/ve.ui.CommentInspector.js 
b/src/ui/inspectors/ve.ui.CommentInspector.js
index 669c7b4..93ce7b9 100644
--- a/src/ui/inspectors/ve.ui.CommentInspector.js
+++ b/src/ui/inspectors/ve.ui.CommentInspector.js
@@ -96,7 +96,7 @@
                                                attributes: { text: '' }
                                        },
                                        { type: '/comment' }
-                               ] );
+                               ] ).select();
                                this.commentNode = this.getSelectedNode();
                        }
                }, this );

-- 
To view, visit https://gerrit.wikimedia.org/r/321399
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I5b7660f49702fafea679772e34686f4e69888e33
Gerrit-PatchSet: 1
Gerrit-Project: VisualEditor/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: DLynch <[email protected]>
Gerrit-Reviewer: Divec <[email protected]>
Gerrit-Reviewer: Esanders <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to