code: private void updateGhostStyle() {
  
          if (CmsStringUtil.isEmpty(m_realValue)) {
              if (CmsStringUtil.isEmpty(m_ghostValue)) {
                  updateTextArea(m_realValue);
                  return;
              }
              if (!m_focus) {
                  setGhostStyleEnabled(true);
                  updateTextArea(m_ghostValue);
              } else {
                  // don't show ghost mode while focused
                  setGhostStyleEnabled(false);
              }
          } else {
              setGhostStyleEnabled(false);
              updateTextArea(m_realValue);
          }
      }
docs: Updates the styling and content of the internal text area based on the real value, the ghost value, and whether
  it has focus.