Files upload option in blocks writer field

I started using the blocks fields for a modular page. I love the out of the box previews and the new «writer». Now I realized that there is no option for file uploads like in the textarea field.

As the documentation here says, there is no file upload option.

“marks: true” Sets the allowed HTML formats. Available formats: bold , italic , underline , strike , code , link . Activate them all by passing true . Deactivate them all by passing false

What would be the best solution to integrate this option but keep the preview of the block?

3 Likes