Jdlrobson has uploaded a new change for review. https://gerrit.wikimedia.org/r/132798
Change subject: Allow other extensions/modules to tweak the editor ...................................................................... Allow other extensions/modules to tweak the editor Change-Id: I26efe50af621d136b854f7efe3bb98c380164405 --- M javascripts/modules/editor/EditorOverlay.js 1 file changed, 2 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend refs/changes/98/132798/1 diff --git a/javascripts/modules/editor/EditorOverlay.js b/javascripts/modules/editor/EditorOverlay.js index 6ffb1a8..5d96e51 100644 --- a/javascripts/modules/editor/EditorOverlay.js +++ b/javascripts/modules/editor/EditorOverlay.js @@ -110,6 +110,8 @@ action: 'page-edit-impression' } ); } + // Emit a global event here so that other extensions e.g. ProofReadPage can tweak the editor overlay + M.emit( 'editor.postRender', this ); }, _shouldShowKeepGoingOverlay: function() { -- To view, visit https://gerrit.wikimedia.org/r/132798 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I26efe50af621d136b854f7efe3bb98c380164405 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/MobileFrontend Gerrit-Branch: master Gerrit-Owner: Jdlrobson <jrob...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits