I’m trying to disable paste_convert_word_fake_lists which is a feature of the TinyMCE Paste plugin included with WordPress.
I’m not sure if it’s due to the way Pro/Cornerstone is loading it or what’s up. It seems to disable in WP when editing a page but not when using Pro to edit a page.
Basically I’m copying text from a Google doc which is formatted in a way that looks like it’s a list but it isn’t actually a list. To reproduce it you would have to create a new Google doc and paste this in, then copy it from the Google doc into the Pro editor:
A. Item 1
B. Item 2
It should become a list in the editor. What I want to do is disable this behaviour which apparently can be done by setting paste_convert_word_fake_lists to false. https://www.tiny.cloud/docs/plugins/paste/#paste_convert_word_fake_lists
add_filter( 'tiny_mce_before_init', array( $this, 'disable_paste_convert_word_fake_lists' ) );
function disable_paste_convert_word_fake_lists( $init ) {
$init['paste_convert_word_fake_lists'] = false;
return $init;
}