From: Jean-Nicolas <jea...@us...> - 2006-06-19 17:33:12
|
Update of /cvsroot/phpwiki/phpwiki/lib/WysiwygEdit In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31614/lib/WysiwygEdit Modified Files: Wikiwyg.php Log Message: Add button to insert table of content plugin Add button to insert wikitext section in wysiwyg mode Fix internet explorer issue in wikitext mode. The toolbar in this mode didn't work. Index: Wikiwyg.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/lib/WysiwygEdit/Wikiwyg.php,v retrieving revision 1.3 retrieving revision 1.4 diff -u -2 -b -p -d -r1.3 -r1.4 --- Wikiwyg.php 31 May 2006 19:59:57 -0000 1.3 +++ Wikiwyg.php 19 Jun 2006 17:33:06 -0000 1.4 @@ -46,7 +46,7 @@ window.onload = function() { var config = { doubleClickToEdit: $doubleClickToEdit, - javascriptLocation: data_url, + javascriptLocation: base_url+'/themes/default/Wikiwyg/', toolbar: { - imagesLocation: data_url+'/images/', + imagesLocation: base_url+'/themes/default/Wikiwyg/images/', controlLayout: [ 'save','mode_selector', '/', @@ -54,9 +54,11 @@ window.onload = function() { 'h2', 'h3', 'h4','|', 'bold', 'italic', '|', + 'sup', 'sub', '|', + 'toc', + 'wikitext','|', 'pre','|', 'ordered', 'unordered','hr','|', - 'link','unlink','|', - 'table', 'sup', 'sub', '|' - //'plugins' + 'link','|', + 'table' ], styleSelector: [ @@ -70,5 +72,6 @@ window.onload = function() { h4: '"._("Title 3")."', verbatim: '"._("Verbatim")."', - unlink: '"._("Remove link")."', + toc: '"._("Table of content")."', + wikitext: '"._("Insert Wikitext section")."', sup: '"._("Sup")."', sub: '"._("Sub")."' @@ -120,4 +123,11 @@ window.onload = function() { /* $Log$ + Revision 1.4 2006/06/19 17:33:06 jeannicolas + + Add button to insert table of content plugin + Add button to insert wikitext section in wysiwyg mode + + Fix internet explorer issue in wikitext mode. The toolbar in this mode didn't work. + Revision 1.3 2006/05/31 19:59:57 jeannicolas |