Figure node (img + caption)

Hi, I want to create a figure node. I found this extension by @sereneinserenade but I would like to extend it to cover caption too. One idea would be to add caption attribute to the figure and show it in the node view, but I think that then only plain text will be supported (i.e. bold will not work). Do I have to then create a figure node whose content would be resizableImage and caption and in the caption node I need to specify what is allowed?

1 Like

Hey,

I have a package that might be useful for you:

It has caption & is resizable.

2 Likes

Nice work @ViktorVaczi

1 Like