Full size editor #45
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello, is it possible to make CodeMirror2 to be fullsize (full page size)? I added:
width: 100%; height: 100%; to the
CodeMirrorstyle and this works only under Chromium. Any another browser doesn't want to make editor with that size.Any ideas?
Hi,
I'm not aware of a cross-browser way to make something the size of the
window (there might be one though -- I'm no CSS guru. If you find
something, let me know.) What I'd do is have a script set the
.style.height of the wrapper element (see .getWrapperElement method),
and register an onresize handler on the window that resets this height
(using window.innerHeight and such, depending on the browser).
Best,
Marijn
Hello, thanks for the reply. I found one way for this:
position: absolute; height: 100%; top: 0; bottom: 0; left: 0; right: 0;This should be added into
.CodeMirrorclass.Thanks! That's good to know -- I'll pass it on to the next person who asks ;)
Cheers,
Marijn
No problems ;) Good luck with developing.