CoreMedia CKEditor 5 Plugins
    Preparing search index...
    • Get the schema set for the data processor of the given editor.

      Parameters

      • editor: ElementFilterParams | TextFilterParams

        parameters to retrieve editor instance from

        • ElementFilterParams

          Named parameters to be passed to element filters. For overriding filter rules a typical pattern to start with is:

          params.parent && params.parent(args);
          
          • Readonlyeditor: Editor

            CKEditor instance, for example to access configuration.

          • Readonlynode: ElementProxy

            The node to process.

          • ReadonlyparentRule: ElementFilterRule

            A parent mapping to respect (or to ignore, thus override). It is required, so that it is easier to trigger a call to the parent rule. Just add it as empty function, if there is no parent.

        • TextFilterParams

          Named parameters to be passed to element filters. For overriding filter rules a typical pattern to start with is:

          params.parent && params.parent(args);
          
          • Readonlyeditor: Editor

            CKEditor instance, for example to access configuration.

          • Readonlynode: TextProxy

            The node to process.

          • ReadonlyparentRule: TextFilterRule

            A parent mapping to respect (or to ignore, thus override). It is required, so that it is easier to trigger a call to the parent rule. Just add it as empty function, if there is no parent.

      Returns RichTextSchema