-
Notifications
You must be signed in to change notification settings - Fork 798
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
Markdown block: remove module dependency #13473
Conversation
This is an automated check which relies on |
Caution: This PR has changes that must be merged to WordPress.com |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems to work well, thanks for this! Feel free to label this one as Reviewed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was there some discussion about it somewhere? While this works well and makes sense, I wonder if this could create some confusion for folks who didn't turn on that feature and would not expect to see it appear in their block editor.
I am not against the idea, I think it's pretty nice, but I just want to be sure we all agree on that approach.
No recent new conversations no, this is just what I think makes sense in "fix the flows" context no matter the cons. ;-) I think at this point there are already so many conversations in that we're well aware of all cons/pros (happy to list them all here if you'd prefer) and just need a decision if this is ok direction.
Valid point! I think that's fine tho because the confusion other way around when feature isn't available without extra toggle is greater, considering how the block picker is fairly contained & hidden place for features to pop-up in. If that makes sense? |
I'm happy to merge this, and since it's got 2 reviews already, I'll do just that. |
* Changelog: initial set of changes for 7.8 * Changelog: add #13310 * Changelog: add #13103 * Changelog: add #13426 * Changelog: add #13389 * Changelog: add #13449 * Changelog: add #13461 * Changelog: add #13460 * Changelog: add #13441 * Changelog: add #13454 * Changelog: add #13457 * Changelog: add #13425 * Changelog: add #13473 * Changelog: add #13355 * Changelog: add #13451 * Changelog: add #13358 * Changelog: add #13464 * Changelog: add #13416 * Changelog: add #13494 * Changelog: add #13465 * Changelog: add #13424 * Changelog: add #13432 * Changelog: add #13471 * Changelog: add 7.7.2 entry * Changelog: add #13446 * Add more testing elements
* Changelog: initial set of changes for 7.8 * Changelog: add #13310 * Changelog: add #13103 * Changelog: add #13426 * Changelog: add #13389 * Changelog: add #13449 * Changelog: add #13461 * Changelog: add #13460 * Changelog: add #13441 * Changelog: add #13454 * Changelog: add #13457 * Changelog: add #13425 * Changelog: add #13473 * Changelog: add #13355 * Changelog: add #13451 * Changelog: add #13358 * Changelog: add #13464 * Changelog: add #13416 * Changelog: add #13494 * Changelog: add #13465 * Changelog: add #13424 * Changelog: add #13432 * Changelog: add #13471 * Changelog: add 7.7.2 entry * Changelog: add #13446 * Add more testing elements
Currently, Markdown block requires the Markdown module to be present, although we don't rely on the module technically.
Markdown block renders Markdown using a frontend library instead of relying on the PHP module.
UI where you need to go to turn on a separate toggle in settings page just to allow a feature showing up in the block picker is not great. From the user perspective, the act of choosing Markdown block from the block picker is de-factor "turning a feature on".
Module toggle itself is still useful for allowing writing Markdown on classic editor pages and the toggle could be hidden for sites using Gutenberg, but that's outside the scope in here.
This PR removes module dependency, making the block always available in the block picker.
Similar question to Tiled gallery's Photon module dependency; #13471
Changes proposed in this Pull Request:
Is this a new feature or does it add/remove features to an existing part of Jetpack?
Modify existing.
Testing instructions:
Proposed changelog entry for your changes: