Mercurial Hosting > freedit
comparison src/bbcode/test.html @ 49:f225e82b2bf8
add code bbcode
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 17 Nov 2022 16:46:21 -0700 |
parents | 289718f121e4 |
children | 78b2d6995244 |
comparison
equal
deleted
inserted
replaced
48:4e1a01db19ec | 49:f225e82b2bf8 |
---|---|
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <meta name="viewport" content="width=device-width, initial-scale=1"> | 4 <meta name="viewport" content="width=device-width, initial-scale=1"> |
5 <style> | 5 <style> |
6 @import "bbcode.css"; | 6 @import "bbcode.css"; |
7 | |
8 [message] { | |
9 white-space: pre-wrap; | |
10 line-height: 1.4; | |
11 } | |
12 </style> | 7 </style> |
13 <script src="bbcode.js"></script> | 8 <script src="bbcode.js"></script> |
14 <script> | 9 <script> |
15 // from /site.js | 10 // from /site.js |
16 function ajax(url,postData) { | 11 function ajax(url,postData) { |
45 </head> | 40 </head> |
46 <body onload='init()'> | 41 <body onload='init()'> |
47 <p>top</p> | 42 <p>top</p> |
48 <p edit></p> | 43 <p edit></p> |
49 <p>result:</p> | 44 <p>result:</p> |
50 <p result><div message></div></p> | 45 <p result></p> |
51 <p>bottom</p> | 46 <p>bottom</p> |
52 </body> | 47 </body> |
53 </html> | 48 </html> |