jenkins-bot has submitted this change and it was merged.
Change subject: Fix bug where VE editor was not being loaded correctly.
......................................................................
Fix bug where VE editor was not being loaded correctly.
Change-Id: I4f4e2a618e7b2caca9818438cdecb833071e5949
---
M modules/editor/editors/ext.flow.editors.visualeditor.js
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
EBernhardson: 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 bd90ba7..1c07999 100644
--- a/modules/editor/editors/ext.flow.editors.visualeditor.js
+++ b/modules/editor/editors/ext.flow.editors.visualeditor.js
@@ -49,7 +49,7 @@
window.ve.createDocumentFromHtml( content || '' )
);
- $veNode = this.target.surface.$.find( '.ve-ce-documentNode' );
+ $veNode = this.target.surface.$element.find(
'.ve-ce-documentNode' );
// focus VE instance if textarea had focus
if ( !$focussedElement.length || this.$node.is(
$focussedElement ) ) {
--
To view, visit https://gerrit.wikimedia.org/r/94067
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I4f4e2a618e7b2caca9818438cdecb833071e5949
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Werdna <[email protected]>
Gerrit-Reviewer: EBernhardson <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits