Comments (4)
Support References
This comment is automatically generated. Please do not edit it.
- 8751655-zen
from jetpack.
Looks like what's going on here is that the swiper
library is loaded asynchronously. Webpack's async loader doesn't know anything about Gutenberg's iframe editor, so swiper.css
is only async-loaded at the top level, not in the iframe.
Disabling the Gutenberg plugin seems to also turn off the iframe editor, so the top-level-loaded swiper.css
takes effect there.
Looks like the Map block has a hack to work around this (see #19552). Podcast Player is doing something seemingly similar (see #19578), but I think that one is more along the lines of needing to use the 'enqueue_block_assets' hook (now that it exists) rather than async loading from webpack.
from jetpack.
Looking at options, I wonder if we could make use of mini-css-extract-plugin's import
option to have it automatically load the styles inside Gutenberg's iframe when the iframe is present.
from jetpack.
📌 ACTIONS
- Triaged
from jetpack.
Related Issues (20)
- Generated content duplicates existing content when there is no title HOT 2
- Upgrade paths are not redirecting to the checkout
- Show all Brief issues when activate feature
- Missing a clearer distinction between creating and editing forms
- Contact Form: Provide default value when no "from" value is discernable.
- Performance: convert jetpack_blocks_disabled option to a module
- Blocks: require wp-polyfill only when really needed HOT 9
- Boost: Relative URLs break critical css generation
- VideoPress: videos with custom poster image don't show play button in the editor and site HOT 1
- I want to create contact and company via API HOT 1
- VideoPress: Recently uploaded private video thumbnails result in a 404 error HOT 2
- Donations Form Block: add button "Connect to WordPress.com" on sites that aren't connected HOT 1
- Enable blocks in comments no longer available when upgrading Simple site to Atomic HOT 9
- Page stats don't work... HOT 2
- Add an option to manually create Activity Log entry items
- Select Media Modal (from Jetpack block) is not showing up in Widget page when WooPayment plugin is activated HOT 3
- `@automattic/jetpack-connection` npm package is not usable in a custom plugin with `@wordpress/scripts` HOT 1
- Newsletter: improve rendering of embed blocks
- VideoPress: Videos listed more than once if the file is duplicated on the media library
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jetpack.