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

Change subject: Add mw-ui-input class to VisualEditor surface.
......................................................................


Add mw-ui-input class to VisualEditor surface.

This gives it the Agora styling

Change-Id: If8df15c570580801fbc9460ad6f8105afc2995e3
---
M modules/editor/editors/ext.flow.editors.visualeditor.js
1 file changed, 2 insertions(+), 0 deletions(-)

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



diff --git a/modules/editor/editors/ext.flow.editors.visualeditor.js 
b/modules/editor/editors/ext.flow.editors.visualeditor.js
index c00735e..6166b9d 100644
--- a/modules/editor/editors/ext.flow.editors.visualeditor.js
+++ b/modules/editor/editors/ext.flow.editors.visualeditor.js
@@ -46,6 +46,8 @@
                        $veNode.focus();
                }
 
+               $veNode.addClass( 'mw-ui-input' );
+
                // simulate a keyup event on the original node, so the 
validation code will
                // pick up changes in the new node
                $veNode.keyup( function () {

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

Gerrit-MessageType: merged
Gerrit-Change-Id: If8df15c570580801fbc9460ad6f8105afc2995e3
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Werdna <agarr...@wikimedia.org>
Gerrit-Reviewer: Matthias Mullie <mmul...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to