Wrapping the content
In some cases you may want to wrap the whole content in another component.
Use the contentWrapper property for this.
import { Editor, Config } from "@tyzo/page-editor";
const config: Config = {
contentWrapper(props) {
return <div className="wrapper">{props.children}</div>;
},
components: {
...
}
}