Page MenuHomePhabricator

VisualEditor: Annotate body tag or #content tag when in edit mode with class
Closed, ResolvedPublic


Other modules (and gadgets) should be able to hide their interfaces when VisualEditor is opened - for example the Nearby pages BetaFeature ( creates a blue button in the top right.

Ideally this feature should be able to know when it is in edit mode and hide itself.

Maybe abusing the action-edit / action-view classes would be useful here?

Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:16 AM
bzimport set Reference to bz57555.

Change 97702 had a related patch set uploaded by Robmoen:
Toggle veaction-edit class on the body of the view page

Change 97702 merged by jenkins-bot:
mw.ViewPageTarget: Use ve-activated class on the html element