As per on the Road Map, WordPress built in short codes, like [caption] should probably work with this project - they currently don't.
I think the most logical step would be to, when rendering the post, parse the post_content field (which I'm already doing), strip out shortcodes and replace them with the output of rendering a React component for that shortcode.
So, we'd create a Caption component, and when we parse the post_contet field, when we see [caption][/caption] we replace it with a the component.
It's probably going to be difficult.
As per on the Road Map, WordPress built in short codes, like
[caption]should probably work with this project - they currently don't.I think the most logical step would be to, when rendering the post, parse the post_content field (which I'm already doing), strip out shortcodes and replace them with the output of rendering a React component for that shortcode.
So, we'd create a Caption component, and when we parse the post_contet field, when we see [caption][/caption] we replace it with a the component.
It's probably going to be difficult.