Issue:
When switching a column from "String" to "Markdown" in the table, the caption disappears. However, the caption functionality continues to work as expected.
Steps to Reproduce:
- Create a table with a "String" column.
- Add a caption to the "String" column.
- Switch the column type from "String" to "Markdown."
- Observe that the caption is no longer displayed, but still functions in the background.
Expected Behavior:
The caption should remain visible and functional when switching from a "String" column to a "Markdown" column.
Suggested Fix:
Allow "Markdown" columns to support captions in the same way as "String" columns do.
Additional Notes:
- The disappearance of the caption seems to be a UI issue rather than a functionality issue, as the caption continues to work despite being invisible.