WordPress::LaTex:: TinyMCE v4.x(plugin v2 beta)-eqneditor

Published by onesixx on

https://www.codecogs.com/latex/integration/tinymce_v4/install.php

 

https://www.amazon.com/clouddrive/share/VZl9VUCiI83QgXZ0wph4Xd8HAP9crlsCDjcRg5AmdeV

\frac { 1 }{ \sigma \sqrt { 2\pi } } \left( -\frac { (x-\mu )^{ 2 } }{ 2\sigma ^{ 2 } } \right) 를   

Code 설치

  1. Tiny MCE Editor 설치
  2. 다운로드 EqnEditor_tinymce_v4_plugin_v2.zip
  3. ~\wp-content\plugins\tinymce-advanced\mce 폴더에 복사

Code 수정

~\wp-content\plugins\tinymce-advanced\tinymce-advanced.php파일에 

1. get_default_user_settings() 함수에 추가 

'plugins'   => 'eqneditor,anchor,code,insertdatetime,nonbreaking,print,searchreplace,table,visualblocks,visualchars,advlist,wptadv',

2. get_all_plugins()  함수에 추가 

'eqneditor',

3. get_all_buttons() 함수에 추가 

'eqneditor'=> 'Eqneditor',

4. get_plugins( $plugins = array() ) 함수에 추가

if ( in_array( 'eqneditor', $this->used_buttons, true ) )
$plugins[] = 'eqneditor';

Editor에 적용

Settings > TinyMCEditor

 

Categories: BLOG

onesixx

Blog Owner

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x