-
Notifications
You must be signed in to change notification settings - Fork 272
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
Propose PRs for the projects that are now patched ad-hoc #91
Comments
About the WordPress SQLite plugin, I heard people have started work on integrating it directly into WP core. From the following article: Let’s make WordPress officially support SQLite The comment thread at the bottom links to the newest development, which is the SQLite Integration module in the Performance Lab plugin. Implement new experimental SQLite integration module #547
I'm guessing the code under Just for curiosity, I checked what the current patch in Playground does to the SQLite plugin; then searched for the corresponding lines in the new SQLite module. So when this SQLite support does get into core, I imagine the patch can be made into a pull request there (instead of the plugin which will be obsolete at that point). |
An overview of the patches applied by WordPress Playground: #119 (comment) |
The For Gutenberg, we'd need to replace Otherwise we have to patch it ourselves: wordpress-playground/packages/playground/blueprints/src/lib/steps/install-plugin.ts Lines 102 to 129 in b8faa32
The problem is: The
Which means there's no easy way to replace |
Gutenberg loads the site editor using <iframe srcDoc="<!doctype html>" to force the standards mode and not the quirks mode: WordPress/gutenberg#38855 This commit patches the site editor to achieve the same result via <iframe src="/doctype.html"> and a doctype.html file containing just `<!doctype html>`. This allows the iframe to inherit the service worker and correctly load all the css, js, fonts, images, and other assets. More details: #91 (comment)
Gutenberg loads the site editor using <iframe srcDoc="<!doctype html>" to force the standards mode and not the quirks mode: WordPress/gutenberg#38855 This commit patches the site editor to achieve the same result via <iframe src="/doctype.html"> and a doctype.html file containing just `<!doctype html>`. This allows the iframe to inherit the service worker and correctly load all the css, js, fonts, images, and other assets. More details: #91 (comment)
srcDoc got replaced for src in WordPress/gutenberg#50875 (comment) |
Gutenberg loads the site editor using <iframe srcDoc="<!doctype html>" to force the standards mode and not the quirks mode: WordPress/gutenberg#38855 This commit patches the site editor to achieve the same result via <iframe src="/doctype.html"> and a doctype.html file containing just `<!doctype html>`. This allows the iframe to inherit the service worker and correctly load all the css, js, fonts, images, and other assets. More details: WordPress/wordpress-playground#91 (comment)
Let's start Pull Requests to improve the projects WordPress Playground is currently patching ad-hoc:
These patches are not specific to the WordPress Playground project, they enable either WebAssembly compatibility or browser compatibility.
The text was updated successfully, but these errors were encountered: