mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
rebuilding site Wed Sep 8 04:26:37 PM CST 2021
This commit is contained in:
parent
f60bebdcc2
commit
ead2f157ff
2 changed files with 4 additions and 3 deletions
|
@ -4,7 +4,7 @@ onload=function(){
|
|||
var ext = location.href.split('.').pop();
|
||||
{
|
||||
var ta=d.getElementById("textarea");
|
||||
var text=ta.innerHTML;
|
||||
var text=ta.value;
|
||||
var e = d.getElementById("editor");
|
||||
|
||||
switch(ext){
|
||||
|
|
|
@ -8,9 +8,10 @@
|
|||
}
|
||||
#textarea{display:none}
|
||||
</style>
|
||||
<script src='http://cdn.bootcss.com/ace/1.2.3/ace.js'></script>
|
||||
<script src='http://cdn.bootcss.com/ace/1.2.3/ext-language_tools.js'></script>
|
||||
<script src='http://cdn.bootcss.com/ace/1.4.9/ace.js'></script>
|
||||
<script src='http://cdn.bootcss.com/ace/1.4.9/ext-language_tools.js'></script>
|
||||
<pre id='editor'></pre>
|
||||
<script src='ace.js'></script>
|
||||
<textarea id='textarea'>
|
||||
&
|
||||
html.replace(/<font.+\/font>/,'');
|
||||
|
|
Loading…
Reference in a new issue