I am using the latest version (4.1), just using a simple example:
<!DOCTYPE html>
<html>
<head>
<script src="//tinymce.cachefly.net/4.1/tinymce.min.js"></script>
<script>
tinymce.init(
{
selector:'textarea',
menu : {
file : {title : 'File' , items : 'newdocument'},
edit : {title : 'Edit' , items : 'undo redo | cut copy paste pastetext | selectall'},
insert : {title : 'Insert', items : 'link media | template hr'},
view : {title : 'View' , items : 'visualaid'},
format : {title : 'Format', items : 'bold italic underline strikethrough superscript subscript | formats | removeformat'},
table : {title : 'Table' , items : 'inserttable tableprops deletetable | cell row column'},
tools : {title : 'Tools' , items : 'spellchecker code'}
}
}
);
</script>
</head>
<body>
<textarea>Your content here.</textarea>
</body>
</html>
For some reason, the “insert” menu does not appear on the menu bar. I also tried to download the full package with all the plugins, the same results in both Firefox and Chrome.
source
share