Open bruiken opened 3 years ago
Note that we might get to features that create extra content on the page. This means that we need to make sure that the editor is also resized when the size of the HTML page is resized.
We should wrap every content in one single div class, similar to how I've done with the editor div. This div we will then give the remaining space?
Yep sounds good
We do not want the page to be in a state where it needs to be scrolled. But we do also not want a page with empty space. The empty space should be filled with the editor.
We can do this using some janky jQuery code, literally computing how much space we can use and setting the editor to that height.
Note that we might get to features that create extra content on the page. This means that we need to make sure that the editor is also resized when the size of the HTML page is resized.