{"title":"$:/plugins/tiddlywiki/codemirror-fullscreen","name":"CodeMirror Fullscreen","description":"Fullscreen editing for CodeMirror","parent-plugin":"$:/plugins/tiddlywiki/codemirror","list":"readme","version":"5.2.2","plugin-type":"plugin","dependents":"","type":"application/json","tiddlers":{"$:/config/codemirror/fullscreen":{"title":"$:/config/codemirror/fullscreen","extend":"extraKeys","type":"json","text":"{\n\t\"F11\": \"togglefullscreen\"\n}"},"$:/plugins/tiddlywiki/codemirror/addon/fullscreen/fullscreen.js":{"text":"// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: https://codemirror.net/LICENSE\n!function(e){\"object\"==typeof exports&&\"object\"==typeof module?e(require(\"../../lib/codemirror\")):\"function\"==typeof define&&define.amd?define([\"../../lib/codemirror\"],e):e(CodeMirror)}(function(i){\"use strict\";i.defineOption(\"fullScreen\",!1,function(e,t,o){var r,l;o==i.Init&&(o=!1),!o!=!t&&(t?(l=(r=e).getWrapperElement(),r.state.fullScreenRestore={scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset,width:l.style.width,height:l.style.height},l.style.width=\"\",l.style.height=\"auto\",l.className+=\" CodeMirror-fullscreen\",document.documentElement.style.overflow=\"hidden\",r.refresh()):function(e){var t=e.getWrapperElement();t.className=t.className.replace(/\\s*CodeMirror-fullscreen\\b/,\"\"),document.documentElement.style.overflow=\"\";var o=e.state.fullScreenRestore;t.style.width=o.width,t.style.height=o.height,window.scrollTo(o.scrollLeft,o.scrollTop),e.refresh()}(e))})});\n","type":"application/javascript","title":"$:/plugins/tiddlywiki/codemirror/addon/fullscreen/fullscreen.js","module-type":"codemirror"},"$:/plugins/tiddlywiki/codemirror/addon/fullscreen/fullscreen.css":{"text":".CodeMirror-fullscreen {\n  position: fixed;\n  top: 0; left: 0; right: 0; bottom: 0;\n  height: auto;\n  z-index: 9;\n}\n","type":"text/css","title":"$:/plugins/tiddlywiki/codemirror/addon/fullscreen/fullscreen.css","tags":"[[$:/tags/Stylesheet]]"},"$:/plugins/tiddlywiki/codemirror-fullscreen/readme":{"title":"$:/plugins/tiddlywiki/codemirror-fullscreen/readme","text":"This plugin adds a ''Fullscreen editing Mode'' to the [[CodeMirror|http://codemirror.net]] text editor. It needs the latest [[CodeMirror plugin|$:/plugins/tiddlywiki/codemirror]] to be installed\n\nPressing ''F11'' with the focus within the editor-textarea will make the editor go fullscreen, pressing ''F11'' again leaves fullscreen-mode\n\n"}}}