Notifications
Clear all

New Feature [Closed] Issues with TinyMCE

3 Posts
1 Users
0 Reactions
722 Views
Posts: 29
Topic starter
(@moderworks)
Eminent Member
Joined: 6 years ago

I would like to thank the wpforo team for a great job. The latest plugin updates are really global. Added great functionality.

Only problems with the editor upset.

Previously, I could paste text from notepad into the editor and immediately select the h2-h3-h4 headings (I have this feature enabled for editors and admins). Now this does not work correctly, when highlighting the heading, the entire text is formatted, not just the heading. It works in wordpress, it doesn't work in wpforo anymore.

I used to remove H1 from the editor using a simple function:

function remove_h1_from_heading($args) {
$args['block_formats'] = 'Paragraph=p;Heading 2=h2;Heading 3=h3;Heading 4=h4';
return $args;
}
add_filter('tiny_mce_before_init', 'remove_h1_from_heading' );

This also doesn't work anymore 🙁

Also disappointing is the lack of formatting for quotes in the visual editor. Just code. It used to be much better.

https://ibb.co/0frqqzC
https://ibb.co/1KSLYrx
https://ibb.co/JRRJzV6
https://ibb.co/cDJ42gh
https://ibb.co/kgh6qxG

2 Replies
Posts: 29
Topic starter
(@moderworks)
Eminent Member
Joined: 6 years ago

Compared with version 1.9.9.1. In addition to the above disadvantages, the loading time of tinymce has increased.

Posts: 29
Topic starter
(@moderworks)
Eminent Member
Joined: 6 years ago

I corrected the quotes in the files:
/plugins/wpforo/includes/hooks.php
/plugins/wpforo/assets/js/frontend.js

But there are still problems with the tinymce. In terms of convenience and speed of loading, the editor has degraded with the latest versions of wpforo.