Hi there
Im creating a custom macro (eg Pet) using Forge and Confluence Cloud,
For the code eg
const App = () => {
// Retrieve the configuration
const config = useConfig() || defaultConfig;
// Use the configuration values
return <Text>{config.name} is {config.age} years old.</Text>;
};
How do I return custom HTML code eg <div>{more html code}</div>. If I place DIV statements in the return code, then the confluence editor displays an error message.
Thanks
Lee