Skip to content

Instantly share code, notes, and snippets.

@hergipriyambodo
Created January 14, 2015 09:00
Show Gist options
  • Save hergipriyambodo/2e4c6aed9dc2aac99cc2 to your computer and use it in GitHub Desktop.
Save hergipriyambodo/2e4c6aed9dc2aac99cc2 to your computer and use it in GitHub Desktop.
Ojo lali di copy
<script type="text/javascript">
tinymce.init({
selector: "textarea",
theme: "modern",
plugins: [
"advlist autolink lists link image charmap print preview hr anchor pagebreak",
"searchreplace wordcount visualblocks visualchars code fullscreen",
"insertdatetime media nonbreaking save table contextmenu directionality",
"emoticons template paste textcolor"
],
toolbar1: "insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image",
toolbar2: "print preview media | forecolor backcolor emoticons",
image_advtab: true,
templates: [
{title: 'Test template 1', content: 'Test 1'},
{title: 'Test template 2', content: 'Test 2'}
]
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment