564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
|
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
|
+
+
+
+
+
-
-
-
+
+
+
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
+
+
+
-
-
+
-
+
-
|
fossil open ../tinymce.fsl
fossil add javascript
fossil commit -m "added timymce to the project"
fossil ui
</pre>
Select admin/headers add after the </link>
<pre class="verbatim">
<th1>
if { "tktnew" eq $current_page
|| "tktedit" eq $current_page
|| "wikiedit" eq $current_page
|| "wikiappend" eq $current_page } {
<script type="text/javascript"
src="/doc/tip/javascript/tinymce/jscripts/tiny_mce/tiny_mce.js">
</script>
html "<script type='text/javascript'\n"
html "src='/doc/tip/javascript/tinymce/jscripts/tiny_mce/tiny_mce.js'>\n"
html "</script>\n"
</pre>
and save
select admin/footer add above the first line
<pre class="verbatim">
<script type='text/javascript'>
html " <script type='text/javascript'>\n"
var m = document.getElementsByTagName('textarea')
var l = m.length
var n
for(var i=0 ;i < l;i++){
<nowiki>n = m[i].name</nowiki>
if( 'comment' == n || 'cmappnd' == n || "w" == n){
tinyMCE.init({ mode : 'exact' , elements : n, theme: 'advanced'
,width : '90%' } );
}
puts "tinyMCE.init({ mode : 'specific_textareas' , editor_selector : 'wikiedit', theme: 'advanced',width : '90%' } );"
html "</script>\n"
}
}
</script>
</th1>
</pre>
and save.
<a name="markitup"><h3>markitup!</h3></a>
<p>
Source: <a href="http://markitup.jaysalvat.com/home/"> Markitup </a>
</p>
<h5> Example</h5>
<pre class="verbatim">
mkdir markitup
|