Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9971
Modified Files:
NEWS serendipity_functions.inc.php
Log Message:
add some htmlarea-WYSIWYG spellchecker information
Index: serendipity_functions.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_functions.inc.php,v
retrieving revision 1.286
retrieving revision 1.287
diff -u -d -r1.286 -r1.287
--- serendipity_functions.inc.php 11 Jun 2004 12:19:05 -0000 1.286
+++ serendipity_functions.inc.php 11 Jun 2004 12:50:50 -0000 1.287
@@ -2924,6 +2924,12 @@
);
?>
<script type="text/javascript">
+ // IF you want to enable HTMLArea's spellchecker, download the SpellChecker plugin from the HTMLArea homepage
+ // (http://www.sourceforge.net/projects/itools-htmlarea) and uncomment the lines suffixed with ' // [SPELLCHECK]'
+ // Note that the SpellChecker is a CGI-based application which needs setup in your Apache host ("Options +CGIExec")
+ // Thanks to Randall for pointing this out!
+
+ // HTMLArea.loadPlugin("SpellChecker"); // [SPELLCHECK]
var editor<?php echo $jsname; ?> = null; var config<?php echo $jsname; ?> = null;
function Spawn<?php echo $jsname; ?>() {
var editor<?php echo $jsname; ?> = new HTMLArea("<?php echo $item; ?>");
@@ -2951,6 +2957,7 @@
"inserthorizontalrule", "createlink", "insertimage", "image_selector", "inserttable", "htmlmode", "separator",
"popupeditor", "separator", "showhelp", "about" ]
];
+ // editor<?php echo $jsname; ?>.registerPlugin(SpellChecker); // [SPELLCHECK]
editor<?php echo $jsname; ?>.generate();
editor<?php echo $jsname; ?>._textArea.className = 'serendipity_entry';
}
Index: NEWS
===================================================================
RCS file: /cvsroot/php-blog/serendipity/NEWS,v
retrieving revision 1.146
retrieving revision 1.147
diff -u -d -r1.146 -r1.147
--- NEWS 11 Jun 2004 12:19:05 -0000 1.146
+++ NEWS 11 Jun 2004 12:50:50 -0000 1.147
@@ -3,6 +3,10 @@
Version 0.7 ()
------------------------------------------------------------------------
+ * Added small comments to serendipity_functions.inc.php on how
+ to enable the spellchecker module of the WYSIWYG editor.
+ (Suggestion by Randall)
+
* Plugin API: Now each sidebar plugin item will get a CSS class
name added to the default "serendipitySideBarContent" one, which
is called 'sidebar_wrap_', 'sidebar_title_', 'sidebar_content_'
|