public function editor_scss_to_css() {
        $css = '';

        if (!empty($this->editor_scss)) {
            $compiler = new core_scss();

            foreach ($this->editor_scss as $filename) {
                $compiler->set_file("{$this->dir}/scss/{$filename}.scss");

                try {
                    $css .= $compiler->to_css();
                } catch (\Exception $e) {
                    debugging('Error while compiling editor SCSS: ' . $e->getMessage(), DEBUG_DEVELOPER);
                }
            }
        }

        return $css;
    }