root / trunk / tests / style-script.html @ 1

Revision 1, 0.7 kB (checked in by xinha, 8 years ago)

Bootstrap

Line 
1<html> 
2<head> 
3        <script> 
4                _editor_url = '/htmlarea/';
5                _editor_lang = 'en';
6        </script> 
7        <script type="text/javascript" src="/htmlarea/htmlarea.js"></script>
8        <script>
9HTMLArea.loadPlugin("FullPage");
10        </script>
11</head> 
12<body> 
13<textarea class="inputbox" cols="50" rows="20" name="introtext" id="introtext">
14&lt;style type=&quot;text/css&quot;&gt;
15/* & comment inside style */
16p:before { content: '&'; }
17&lt;/style&gt;
18&lt;p&gt;foobar&lt;/p&gt;
19</textarea>
20<p></p>
21        <script language="JavaScript1.2" defer="defer"> 
22                var editor = new HTMLArea("introtext");
23                editor.registerPlugin(FullPage);
24                editor.generate('introtext');
25        </script> 
26</body> 
27</html>
Note: See TracBrowser for help on using the browser.