def create(
        cls, set_options: EditorOptions | None = None, **props: Any
    ) -> Component:
        """Create an instance of Editor. No children allowed.

        Args:
            set_options: Configuration object to further configure the instance.
            **props: Any properties to be passed to the Editor

        Returns:
            An Editor instance.

        Raises:
            ValueError: If set_options is a state Var.
        """
        console.deprecate(
            "editor",
            "The `editor` component is deprecated.",
            deprecation_version="0.7.15",
            removal_version="0.8.0",
            dedupe=True,
        )
        if set_options is not None:
            if isinstance(set_options, Var):
                msg = "EditorOptions cannot be a state Var"
                raise ValueError(msg)
            props["set_options"] = {
                to_camel_case(k): v
                for k, v in set_options.dict().items()
                if v is not None
            }
        return super().create(*[], **props)
Create an instance of Editor. No children allowed.

        Args:
            set_options: Configuration object to further configure the instance.
            **props: Any properties to be passed to the Editor

        Returns:
            An Editor instance.

        Raises:
            ValueError: If set_options is a state Var.
        
reflex/components/suneditor/editor.py