Created
September 12, 2013 08:24
-
-
Save zhenyi2697/6534429 to your computer and use it in GitHub Desktop.
JavaScript: TinyMce setup for bootstrap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script src="./tinymce/js/tinymce/tinymce.min.js"></script> | |
| <!-- Example row of columns --> | |
| <div class="row"> | |
| <div class="span12"> | |
| <script type="text/javascript"> | |
| tinymce.init({ | |
| menubar:false, | |
| statusbar: false, | |
| selector: "#edit", | |
| plugins: [ | |
| "advlist autolink lists link image charmap print preview anchor", | |
| "searchreplace visualblocks code", | |
| "insertdatetime media table contextmenu paste" | |
| ], | |
| toolbar: "insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent inde | |
| content_css: "./css/bootstrap.css", | |
| }); | |
| </script> | |
| <textarea id="edit" class="span12" rows='20' style="min-width:80%; padding: 20px;"></textarea> | |
| </div> | |
| </div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment