Wagtail client-side components
    Preparing search index...

    Interface ContentExtractorOptions

    Options for extracting page content from the preview iframe.

    interface ContentExtractorOptions {
        targetElement: string;
    }
    Index

    Properties

    Properties

    targetElement: string

    The CSS selector for the target element to extract content from. If not provided, or if the target element is not found, the entire document body will be used.