protected function generateCkScss()
    {

        $ckIni = parse_ini_file($this->assetDir . '/ck-editor-classes.ini');

        // ck toolbar icons
        $cssContent = '@import "inc/bootstrap";' . "\n";
        $cssContent .= '.cke_button_icon, .cke_button { @include tao-icon-setup;}' . "\n";

        foreach ($ckIni as $ckIcon => $taoIcon) {
            if (!$taoIcon) {
                continue;
            }
            $cssContent .= '.' . $ckIcon . ':before { @include ' . $taoIcon . ';}' . "\n";
        }

        file_put_contents($this->tmpDir . '/_ck-icons.scss', $this->doNotEdit . $cssContent);

        return $this->tmpDir . '/_ck-icons.scss';
    }
protected function generateCkScss()
    {

        $ckIni = parse_ini_file($this->assetDir . '/ck-editor-classes.ini');

        // ck toolbar icons
        $cssContent = '@import "inc/bootstrap";' . "\n";
        $cssContent .= '.cke_button_icon, .cke_button { @include tao-icon-setup;}' . "\n";

        foreach ($ckIni as $ckIcon => $taoIcon) {
            if (!$taoIcon) {
                continue;
            }
            $cssContent .= '.' . $ckIcon . ':before { @include ' . $taoIcon . ';}' . "\n";
        }

        file_put_contents($this->tmpDir . '/_ck-icons.scss', $this->doNotEdit . $cssContent);

        return $this->tmpDir . '/_ck-icons.scss';
    }
protected function generateCkScss ( ) { $ ckIni = parse_ini_file ( $ this -> assetDir . '/ck-editor-classes.ini' ) ; // ck toolbar icons $ cssContent = '@import "inc/bootstrap";' . "\n" ; $ cssContent .= '.cke_button_icon, .cke_button { @include tao-icon-setup;}' . "\n" ; foreach ( $ ckIni as $ ckIcon => $ taoIcon ) { if ( ! $ taoIcon ) { continue ; } $ cssContent .= '.' . $ ckIcon . ':before { @include ' . $ taoIcon . ';}' . "\n" ; } file_put_contents ( $ this -> tmpDir . '/_ck-icons.scss' , $ this -> doNotEdit . $ cssContent ) ; return $ this -> tmpDir . '/_ck-icons.scss' ; }
Generate scss for CK editor

@return string
Generate scss for CK editor