-
31
Aug
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
- Published by CleanPC.org in: Computer Safety Computer Tips PC Buying Tips
- If you like this blog please take a second from your precious time and subscribe to my rss feed!
Leave a Reply