הוספת CSS לתצוגה המקדימה בעורך

That’s the way. The previous was specific to the post as it’s show in the stream, you extended it to also apply in the preview area, so that’s the correct solution indeed.