Skip to content

Instantly share code, notes, and snippets.

@akzhan
Created March 23, 2010 12:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save akzhan/341118 to your computer and use it in GitHub Desktop.
Save akzhan/341118 to your computer and use it in GitHub Desktop.
<link rel="stylesheet" type="text/css" href="jwysiwyg/wysiwyg.css" />
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="jwysiwyg/jquery.wysiwyg.js"></script>
<script type="text/javascript">
(function($)
{
$('#wysiwyg').wysiwyg({
controls: {
strikeThrough : { visible : true },
underline : { visible : true },
separator00 : { visible : true },
justifyLeft : { visible : true },
justifyCenter : { visible : true },
justifyRight : { visible : true },
justifyFull : { visible : true },
separator01 : { visible : true },
indent : { visible : true },
outdent : { visible : true },
separator02 : { visible : true },
subscript : { visible : true },
superscript : { visible : true },
separator03 : { visible : true },
undo : { visible : true },
redo : { visible : true },
separator04 : { visible : true },
insertOrderedList : { visible : true },
insertUnorderedList : { visible : true },
insertHorizontalRule : { visible : true },
separator07 : { visible : true },
cut : { visible : true },
copy : { visible : true },
paste : { visible : true },
html : { visible : true }
}
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment