Skip to content

Expose a rich text editor component for inline editing #1707

Description

@FedericoBonel

Description

Currently, we don't expose the rich text inline editor. This creates problems when you need to customize inline editing with additional logic or features through a field transform while keeping the same functionality Puck uses. It leaves you with two options: disabling inline editing or reimplementing everything.

Proposal

We currently have the factory that defines the transform for inline rich text editing here:

export const getRichTextTransform = (): FieldTransforms => ({

I propose extracting the component inside the factory and exposing it as InlineRichTextEditor.

This should be simple enough, and it would allow people to add any required React logic around it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions