Nicedit is one of the most versatile and light-weight WYSIWYG editor on the internet. It has been written by a couple of young developers and you can download it fromĀ  www.nicedit.com. While it is a great editor, the manual hasnt been fully established. Here are couple of tips if you want to implement the Nicedit to your PHP code:

How to implement Nicedit: You can use the following html code to use Nicedit. In terms of handling pictures, it still needs to be improved but the rest of the features are very good.

<html>

<head>

<title> Editor</title>

</head>

<body>

<form action=”index.php?page=update_article_member” method=”post” >
<input type=”hidden” name=”ArticleID” value=”{$id}”>
<input type=”hidden” name=”ArticleUserID” value=”{$ArticleUserID}”>
{literal}
<script src=”template/nicEdit.js” type=”text/javascript”></script>{/literal}{literal}
<script type=”text/javascript”>
bkLib.onDomLoaded(function() {
new nicEditor({fullPanel : true, iconsPath : ‘template/nicEditorIcons.gif’}).panelInstance(‘area1′);
});
</script>{/literal}
<br>
Title: <input type=”text” name=”article_title” value=”{$title}” maxlength=”200″ size=”100″ style=”width:500px;”/>
<br>
Tags: <input type=”text” name=”article_tags” value=”{$tags}” maxlength=”200″ size=”100″ style=”width:500px;”/>
<br>
<textarea cols=”70″ id=”area1″ name=”blog” value=”{$blog}”>{$blog}</textarea>

<input type=”submit” value=”Submit”>
</form>

</body>

</html>

Related Posts

  • How to check the mail size of Outlook
  • How to detect fake Morgan Dollar
  • How to send money overseas in 10 minutes
  • How to send fax over the internet
  • How to search keywords in a folder or file
  • How to create complex passwords in Matlab
  • How to play music in Matlab
  • How to access email attachments blocked in Outlook
  • How to recover the previous tabs in Mozilla Firefox
  • How to print out pages with low ink cartridge