Span by default code behavior fix

For plainText buttons