Change dotless textOnly deprecation warning to only warn for blocks