Revert "Revert "Flag allow works in the editor now.""

This reverts commit 20b55029ac49ba3e445a8ba53bb2627a8a53076a.