Changes To Cookbook
Not logged in

Changes to "Cookbook" between 2010-01-04 23:21:38 and 2010-01-08 22:56:38

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 &lt;/link&gt;
<pre class="verbatim">
 &lt;th1&gt;
   if { "tktnew" eq $current_page 
   	|| "tktedit" eq $current_page 
   	|| "wikiedit" eq $current_page 
   	|| "wikiappend" eq $current_page } {
   &lt;script type="text/javascript"
     src="/doc/tip/javascript/tinymce/jscripts/tiny_mce/tiny_mce.js"&gt;
   &lt;/script&gt;
       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">
 &lt;script type='text/javascript'&gt;
       html " <script type='text/javascript'>\n"
  var m = document.getElementsByTagName('textarea')
  var l = m.length
  var n
  for(var i=0 ;i &lt; 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"
   }
  }
 &lt;/script&gt;
&lt;/th1&gt;
</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