-
Notifications
You must be signed in to change notification settings - Fork 815
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rankmath AI and Jetpack AI Conflict #34033
Comments
@Automattic/jetpack-agora Do you think you could take a look at this? Thanks! |
In some quick testing, this doesn't seem to have anything to do with Jetpack's AI feature specifically. I've tried versions of Jetpack back to 11.6 and they also somehow prevent Rankmath's AI button from showing up. Coming at it in a different way, I find that Rankmath and the https://widgets.wp.com/wpcom-block-editor/default.editor.js script registered by Jetpack's registerFormatType(
'...',
{
title: '...',
tagName: 'p',
className: null,
edit: ...
}
); It seems that it's not allowed for multiple things to register a format type for the same bare tag, we get this error in the console output: It looks like the "wpcom/justify" one ultimately comes from Calypso's apps/wpcom-block-editor/src/default/features/rich-text.js. |
It shouldn't be. It relies on the core API te extend the block toolbar. |
Thanks @anomiex for digging. The code there reads:
@jeherve any particular Calypso dev we could ping on this? |
Great find! Looks like it indeed, since WordPress/gutenberg#11488
I'm not sure what approach we should take here, since we want to be able to apply the justify format to just about any paragraph. On their end, I assume Rankmath AI also want to be able to make changes to all paragraphs.
The Build team has been considering getting rid of that option in the WordPress.com Block editor, and instead rely on Gutenberg instead: That would be a nice way to solve our problem. Unfortunately it looks like we're not quite there yet in Gutenberg: @Automattic/build What do you think? |
Trying to jump at this one, but looks RankMath requires a subscription to show the |
@renatoagds I'm still seeing options for 100 AI requests with the Rankmath free version: ![]() |
I note the changelog for RankMath v1.0.206 says
So perhaps that's why it can't be reproduced so easily anymore. It looks like there is still something broken though:
VideosWithout.Jetpack.mp4With.Jetpack.mp4 |
Let’s close it |
Impacted plugin
Jetpack
Quick summary
When Jetpack is activated, it overrides the Rankmath AI button that is part of the block toolbar.
Steps to reproduce
paragraph
block.A clear and concise description of what you expected to happen.
Rankmath's AI button in block toolbar should appear.
What actually happened
add_filter( 'jetpack_ai_enabled', '__return_false' );
filter is added to site.Impact
One
Available workarounds?
No but the platform is still usable
Platform (Simple and/or Atomic)
Self-hosted
Logs or notes
https://wordpress.org/support/topic/conflict-with-rankmath-9/#post-17141423
https://wordpress.org/support/topic/jetpack-rankmath-conflict/#post-17165526
The text was updated successfully, but these errors were encountered: