Contextual editing
Activate contextual editing
warning
Contextual editing requires preview mode to be activated first. The instructions have changed for newer package versions (v18.0.0+), make sure you're using the latest implementation.
Supported frameworks#
The Uniform SDK works with Next and Nuxt 3.
Next.js#
Contextual editing is enabled by default when using <UniformComposition />
to render your compositions. If you're using enhancers, make sure you pass the enhancing function to the contextualEditingEnhancer
prop.
Nuxt 3#
Contextual editing is enabled by default when using <UniformComposition />
to render your compositions. If you're using useUniformComposition
, the enhancer will be automatically inherited by <UniformComposition />
. Otherwise, you'll need to pass it manually via the contextualEditingEnhancer
prop.