Comments (5)
I would simply add the styles to <div id="editor">
to give it the same width and background as the editable of the actual editor. So when the editor loads, to the user, it would look like <div id="editor">
is being "boxed", transformed into the editor, which is acceptable.
from ckeditor5.github.io.
I've talked with @oleq about this recently. I think that that FOUC cannot be easily avoided by pulling the styles out of the JS file and moving them to the <head>
because these styles base on classes which are added later. So either we add separate styles (independent from the editor, targeted at styling the content when the editor is not available) to that website's stylesheet or we just hide the content before editor loads. I don't like the latter – the former seems more correct to me.
from ckeditor5.github.io.
Small devil question... considering that this site is a demo of CKEditor, which comes in a script... does it make sense to have the script at the end of the page instead of "head". There is nothing else in the page for the user to contemplate, anyway ;)
from ckeditor5.github.io.
AFAIK this will also block rendering the rest of the website and loading the other files – IMO, it's better to show something than to show nothing for the entire time.
from ckeditor5.github.io.
Exactly... but that "something" is the problem... it's more like "whatever" and I feel that "nothing" is better, then.
Maybe we put the script element right before the editor contents then?
Or maybe move the Hotjar and Google Tag Manager scripts to the button as well and see what happens?
from ckeditor5.github.io.
Related Issues (20)
- Loading Google font is blocking page rendering
- Disable focus outline glow on editable HOT 3
- Prepare sample for v0.3.0 release HOT 6
- Showcase the Link feature in the sample HOT 1
- Showcase the List feature in the sample HOT 1
- How to integrate the documentation with the home page HOT 4
- Update the website with iteration 4 HOT 1
- Prepare sample for iteration 5 HOT 3
- Avoid zoom in Mobile
- Bring back focused editor outline after Lark refactoring
- Showcase editor-inline
- Switch to the classic build HOT 1
- Switch to ES6 + babili HOT 4
- Link text color is too bright
- Nightly documentation builds
- JS files cannot be loaded on github.io HOT 1
- Wrong link in the 0.11.0 entry of the timeline HOT 1
- Alpha 1 blog post link 404 HOT 2
- Update webpack.config.js and package.json to support PostCSS
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 ckeditor5.github.io.