hide styling textarea no matter what

pull/1/head
ansuz 9 years ago
parent bffd19d76f
commit a01331cb9a

@ -4,22 +4,12 @@
<meta content="text/html; charset=utf-8" http-equiv="content-type"/> <meta content="text/html; charset=utf-8" http-equiv="content-type"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<script data-main="main" src="/bower_components/requirejs/require.js"></script> <script data-main="main" src="/bower_components/requirejs/require.js"></script>
<style>
html, body{
/*
padding: 0px;
margin: 0px;
overflow: hidden;
box-sizing: border-box;*/
}
textarea{ display: none;
}
</style>
<style></style> <style></style>
</head> </head>
<body> <body>
<a id="edit" href="#" target="_blank">Edit this document's style</a> <a id="edit" href="#" target="_blank">Edit this document's style</a>
<textarea id="css"></textarea> <textarea id="css" style="display:none !important;"></textarea>
<h1>HTML Ipsum Presents</h1> <h1>HTML Ipsum Presents</h1>
<p><strong>Pellentesque habitant morbi tristique</strong> senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. <em>Aenean ultricies mi vitae est.</em> Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra. Vestibulum erat wisi, condimentum sed, <code>commodo vitae</code>, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt condimentum, eros ipsum rutrum orci, sagittis tempus lacus enim ac dui. <a href="#">Donec non enim</a> in turpis pulvinar facilisis. Ut felis.</p> <p><strong>Pellentesque habitant morbi tristique</strong> senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. <em>Aenean ultricies mi vitae est.</em> Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra. Vestibulum erat wisi, condimentum sed, <code>commodo vitae</code>, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt condimentum, eros ipsum rutrum orci, sagittis tempus lacus enim ac dui. <a href="#">Donec non enim</a> in turpis pulvinar facilisis. Ut felis.</p>
@ -48,7 +38,6 @@
} }
</code></pre> </code></pre>
<table> <table>
<thead> <thead>
<tr> <tr>

@ -21,7 +21,7 @@ define([
var key = Crypto.parseKey(window.location.hash.slice(1)); var key = Crypto.parseKey(window.location.hash.slice(1));
var $style = $('style').eq(1), var $style = $('style').first(),
$css = $('#css'), $css = $('#css'),
$edit = $('#edit'); $edit = $('#edit');

Loading…
Cancel
Save