Revert "Flag allow works in the editor now."

This reverts commit a69e1628c8ec514c3d7caeb8fa93ed61b028df7d.