You cannot use bold or italics in plain text mode in TextEdit. It is truly a plain text mode. If you try to switch from rich text to plain text, and you utilize any rich text features in your document, it will warn you that you're going to lose that information.