Dominus77 / yii2-highlight-plugin

Yii2 Syntax highlighting with support for line numbering for the Web
MIT License
2 stars 0 forks source link

Can It intergrate with Dominus77/SyntaxHighlighter #1

Closed polinwei closed 7 years ago

polinwei commented 7 years ago

I write document in tinymce . If I insert php code through SH4TinyMCE - CODE Editor , The line number can not show out.

<pre class="brush:php;auto-links:false;toolbar:false" contenteditable="false" data-mce-selected="1">&lt;?= $form-....

If I using Dominus77/SyntaxHighlighter then it is workable.

polinwei commented 7 years ago

Sorry !! Forget !! I think the both is different.

polinwei commented 7 years ago

In the windows Insert/Edit Code Sample , How add all language ? To write too much code.. as Below

 'options' => [
            'rows' => 25
        ],
        'codesample_languages'=>[
            ['text'=>"Javascript",'value'=>"Javascript"],
        ],
Dominus77 commented 7 years ago

Hi! For Codesample right in the settings of TinyMce.

polinwei commented 7 years ago

Hi Sir: I also found out the same page . thanks