Skip to content
This plugin is new and currently in beta. For the stable version, please use the previous version of the plugin.

ImmutableCssDocumentNode

Interface for immutable CSS document and media query nodes.

typescript
interface ImmutableCssDocumentNode extends BaseImmutableCssNode

Description

ImmutableCssDocumentNode represents CSS document nodes, which include the root stylesheet node and media query blocks. These nodes serve as containers for CSS rules and other nested structures. The interface extends the base CSS node without adding additional methods, as document nodes primarily act as structural containers.

Import

typescript
import { ImmutableCssDocumentNode } from '@stripoinc/ui-editor-extensions';

Inheritance

Extends: BaseImmutableCssNode

Node Types

Document nodes can represent:

  1. Root Document: The top-level stylesheet container
  2. Media Queries: @media rule containers
  3. Other At-Rules: @supports, @document containers (limited email support)