Code stack you are integrating Builder with
React
Problem : Need to know the flexibility of getting the content approved before publishing the page.
Checking the document Extending Builder.io with Plugins - Builder.io there is a section for the worklfow
import { Builder } from '@builder.io/react';
const { designerState } = require('@builder.io/app-context').default;
function WorkflowButton(props) {
return <div onClick={launchApprovalModal}>
Pending approval
</div>
}
Builder.register('editor.toolbarButton', {
component: WorkflowButton,
})
Can anyone please help how this can be achieved.
Thanks