|
No break row in texts
נפתח על ידי rosmarieF
בEnglish Support
Quick solution available
Problem:
Translate texts with the classic translation editor and add line breaks, but paragraphs
and break rows are automatically removed every time I save. Using Elementor.
Solution:
Add the next code to the end of your theme functions.php
Please make a backup before proceeding.
/**
* Fix for wpmlsupp-9686
*/
add_filter('tiny_mce_before_init', function($config) {
if ( defined('ELEMENTOR_VERSION') && did_action('admin_init') && get_current_screen()->id === 'wpml_page_tm/menu/translations-queue') {
$config['wpautop'] = false;
}
return $config;
});
|
|
2 |
15 |
לפני 1 שנה, 11 חודשים
rosmarieF
|