Search Results for 'code'
-
Search Results
-
Hi
It is easy to customize backend buttons with the pugin “Post Editor Buttons Fork”, but it does work only in the backend. How I could add and remove buttons in front-end. I would like to add at least [SPOILER][/SPOILER] tag and i would lke to use [CODE][/CODE] insteaf of the default code button.Where is the code, which defines editor? Could I hardcode changes, which I want?
Controlling the graphic editor TinyMCE Advanced might be more difficult. Is the alternatives for TinyMCE andvanced in the front-end. I would be nice to get.
I have a temporary solution by using an additional menu. See https://www.sanaristikkofoorumi.net/wordpress/forums/topic/uusia-ominaisuuksia/?view=all#post-28829
With the latest releases when navigating to a forum (not the forum index), any Elementor code is gone. Same when using just a sidebar or blocks.
I found an old advice here https://kriesi.at/support/topic/bbpres-no-sidebar-in-topics/ but unclear where the mentioned sidebar.php is located (perhaps theme specific).
-
Other things I’ve tried
- Configured to use the same forum slug (forum, no root)
- Disabled the main theme, use the latest WordPress default theme.
- Disabled a redirection add-on.
Topic: TinyMCE for guests?
I’m posting this on behalf of another user from this topic/post. I can’t verify this, but they claim that the TinyMCE visual editor used to show for guest posters (yes, guest posting is enabled on their forum).
They’re claiming that at some point within the past few months, that stopped.
I tried on my dev server and confirmed that guests do NOT see any visual editor buttons, but I don’t know how long that has been the case, or if guests were ever able to see the TinyMCE editor in the first place.
I’m scratching my brain trying to figure out how to enable the TinyMCE editor for guests. There’s nothing helpful related to this in the WP TinyMCE docs, WP Rich Text Editor Filters, or in the TinyMCE v4 docs. Browsing through /wp-includes/class-wp-editor.php (specifically the editor_settings method) was also a bust.
The only check I’ve been able to find that determines whether or not to display it is “user_can_richedit()”, and even forcing ALL users to have richedit capabilities doesn’t solve it:
add_filter('user_can_richedit', '__return_true');
So my question – How do you enable the TinyMCE editor for guests???