Closed rrrfer closed 4 years ago
Пока что решил проблему так: в файле enlighter/modules/core/LanguageManager.php закомментировал строку с latex. Фрагмент файла:
'json' => 'JSON',
'kotlin' => 'Kotlin',
//'latex' => 'LaTeX',
'less' => 'LESS',
'lighttpd' => 'lighttpd',
'lua' => 'LUA',
'md' => 'Markdown',
Теперь все работает. Но вообще это не здорово, потому что для форматирования формул часто исопльзуется $$ a^b $$ и [latex] a^b [/latex] В первом случае формула располагается на отдельной строке, а во втором - инлайнится в текст. По крайней мере так ведет себя самый популярный в WP плагин для latex. А ваш плагин с ним конфликтует...
Hi @rrrfer
please use english or german for support request...otherwise i cannot help you.
generally the shortcode editing method in WordPress (as well as in Enlighter) has been deprecated. It's recommended to use the VisualEditing modes instead to avoid a lot of issues.
To solve your issues there a two possibilities:
1 . Disable the language shortcodes: just goto Enlighter -> Editing -> Shortcodes -> Language shortcodes
.
Disable the language shortcodes: just goto Enlighter -> Editing -> Shortcodes -> Language shortcodes.
I do not see Language shortcodes. There is no such item in the interface (attached pictures)
take a closer look... first picture, 3rd checkbox/slider
Turn off latex syntax highlighting. I am using a plugin that uses the [latex] tag to highlight formulas. After the update, all formulas became text. It's horrible...